Trend Detection
#### *Description:*
This *Trend Detection* indicator is designed to help traders identify and confirm trends in the market using a combination of moving averages, volume analysis, and MACD filters. It provides clear visual signals for uptrends and downtrends, along with customizable settings to adapt to different trading styles and timeframes. The indicator is suitable for both beginners and advanced traders who want to improve their trend-following strategies.
---
#### *Key Features:*
1. *Trend Detection:*
- Uses *Moving Averages (MA)* to determine the overall trend direction.
- Supports multiple MA types: *SMA (Simple), **EMA (Exponential), **WMA (Weighted), and **HMA (Hull)*.
2. *Advanced Filters:*
- *MACD Filter:* Confirms trends using MACD crossovers.
- *Volume Filter:* Ensures trends are supported by above-average volume.
- *Multi-Timeframe Filter:* Validates trends using a higher timeframe (e.g., Daily or Weekly).
3. *Visual Signals:*
- Plots a *trend line* on the chart to indicate the current trend direction.
- Fills the background with *green* for uptrends and *red* for downtrends.
4. *Customizable Settings:*
- Adjust the *MA lengths, **MACD parameters, and **confirmation thresholds* to suit your trading strategy.
- Control the transparency of the background fill for better chart readability.
5. *Alerts:*
- Generates *buy/sell signals* when a trend is confirmed.
- Alerts can be set to trigger at the close of a candle for precise entry/exit points.
---
#### *How to Use:*
1. *Adding the Indicator:*
- Copy and paste the Pine Script code into the TradingView Pine Script editor.
- Add the indicator to your chart.
2. *Configuring the Settings:*
- *Trend Settings:*
- Choose the *MA type* (e.g., EMA for faster response, HMA for smoother trends).
- Set the *Trend MA Period* (e.g., 200 for long-term trends) and *Filter MA Period* (e.g., 100 for medium-term trends).
- *Advanced Filters:*
- Enable/disable the *MACD Filter* and adjust its parameters (Fast, Slow, Signal).
- Enable/disable the *Volume Filter* to ensure trends are supported by volume.
- *Multi-Timeframe Filter:*
- Enable this filter to validate trends using a higher timeframe (e.g., Daily or Weekly).
3. *Interpreting the Signals:*
- *Uptrend:* The trend line turns *green*, and the background is filled with a transparent green color.
- *Downtrend:* The trend line turns *red*, and the background is filled with a transparent red color.
- *Alerts:* Buy/sell signals are generated when the trend is confirmed.
4. *Using Alerts:*
- Set up alerts for *Buy Signal* (bullish reversal) and *Sell Signal* (bearish reversal).
- Alerts can be configured to trigger at the close of a candle for precise execution.
---
#### *Settings and Their Effects:*
1. *MA Type:*
- *SMA:* Smooth but lagging. Best for long-term trends.
- *EMA:* Faster response to price changes. Suitable for medium-term trends.
- *WMA:* Gives more weight to recent prices. Useful for short-term trends.
- *HMA:* Combines speed and smoothness. Ideal for all timeframes.
2. *Trend MA Period:*
- A longer period (e.g., 200) identifies long-term trends but may lag.
- A shorter period (e.g., 50) reacts faster but may produce false signals.
3. *Filter MA Period:*
- Acts as a secondary filter to confirm the trend.
- A shorter period (e.g., 50) provides tighter confirmation but may increase noise.
4. *MACD Filter:*
- Ensures trends are confirmed by MACD crossovers.
- Adjust the *Fast, **Slow, and **Signal* lengths to match your trading style.
5. *Volume Filter:*
- Ensures trends are supported by above-average volume.
- Reduces false signals during low-volume periods.
6. *Multi-Timeframe Filter:*
- Validates trends using a higher timeframe (e.g., Daily or Weekly).
- Increases reliability but may delay signals.
7. *Confirmation Value:*
- Sets the minimum percentage deviation from the trend MA required to confirm a trend.
- A higher value (e.g., 2.0%) reduces false signals but may delay trend detection.
8. *Confirmation Bars:*
- Sets the number of bars required to confirm a trend.
- A higher value (e.g., 5 bars) ensures sustained trends but may delay signals.
---
#### *Who Should Use This Indicator?*
1. *Trend Followers:*
- Traders who focus on identifying and riding long-term trends.
- Suitable for *swing traders* and *position traders*.
2. *Day Traders:*
- Can use shorter MA periods and faster filters (e.g., EMA, HMA) for intraday trends.
3. *Volume-Based Traders:*
- Traders who rely on volume confirmation to validate trends.
4. *Multi-Timeframe Traders:*
- Traders who use higher timeframes to confirm trends on lower timeframes.
5. *Beginners:*
- Easy-to-understand visual signals and alerts make it beginner-friendly.
6. *Advanced Traders:*
- Customizable settings allow for fine-tuning to match specific strategies.
---
#### *Example Use Cases:*
1. *Long-Term Investing:*
- Use a *200-period SMA* with a *Daily* higher timeframe filter to identify long-term trends.
- Enable the *Volume Filter* to ensure trends are supported by strong volume.
2. *Swing Trading:*
- Use a *50-period EMA* with a *4-hour* higher timeframe filter for medium-term trends.
- Enable the *MACD Filter* to confirm trend reversals.
3. *Day Trading:*
- Use a *20-period HMA* with a *1-hour* higher timeframe filter for short-term trends.
- Disable the *Volume Filter* for faster signals.
---
#### *Conclusion:*
The *Trend Detection* indicator is a versatile tool for traders of all levels. Its customizable settings and advanced filters make it suitable for various trading styles and timeframes. By combining moving averages, volume analysis, and MACD filters, it provides reliable trend signals with minimal lag. Whether you're a beginner or an advanced trader, this indicator can help you make better trading decisions by identifying and confirming trends in the market.
---
#### *Publishing on TradingView:*
- *Title:* Trend Detection with Advanced Filters
- *Description:* A powerful trend detection tool using moving averages, volume analysis, and MACD filters. Suitable for all trading styles and timeframes.
- *Tags:* Trend, Moving Averages, MACD, Volume, Multi-Timeframe
- *Category:* Trend-Following
- *Access:* Public or Private (depending on your preference).
---
Let me know if you need further assistance or additionalย features!
Cari dalam skrip untuk "swing trading"
Multi-Timeframe Stochastic Alert [tradeviZion]# Multi-Timeframe Stochastic Alert : Complete User Guide
## 1. Introduction
### What is the Multi-Timeframe Stochastic Alert?
The Multi-Timeframe Stochastic Alert is an advanced technical analysis tool that helps traders identify potential trading opportunities by analyzing momentum across multiple timeframes. It combines the power of the stochastic oscillator with multi-timeframe analysis to provide more reliable trading signals.
### Key Features and Benefits
- Simultaneous analysis of 6 different timeframes
- Advanced alert system with customizable conditions
- Real-time visual feedback with color-coded signals
- Comprehensive data table with instant market insights
- Motivational trading messages for psychological support
- Flexible theme support for comfortable viewing
### How it Can Help Your Trading
- Identify stronger trends by confirming momentum across multiple timeframes
- Reduce false signals through multi-timeframe confirmation
- Stay informed of market changes with customizable alerts
- Make more informed decisions with comprehensive market data
- Maintain trading discipline with clear visual signals
## 2. Understanding the Display
### The Stochastic Chart
The main chart displays three key components:
1. ** K-Line (Fast) **: The primary stochastic line (default color: green)
2. ** D-Line (Slow) **: The signal line (default color: red)
3. ** Reference Lines **:
- Overbought Level (80): Upper dashed line
- Middle Line (50): Center dashed line
- Oversold Level (20): Lower dashed line
### The Information Table
The table provides a comprehensive view of stochastic readings across all timeframes. Here's what each column means:
#### Column Explanations:
1. ** Timeframe **
- Shows the time period for each row
- Example: "5" = 5 minutes, "15" = 15 minutes, etc.
2. ** K Value **
- The fast stochastic line value (0-100)
- Higher values indicate stronger upward momentum
- Lower values indicate stronger downward momentum
3. ** D Value **
- The slow stochastic line value (0-100)
- Helps confirm momentum direction
- Crossovers with K-line can signal potential trades
4. ** Status **
- Shows current momentum with symbols:
- โฒ = Increasing (bullish)
- โผ = Decreasing (bearish)
- Color matches the trend direction
5. ** Trend **
- Shows the current market condition:
- "Overbought" (above 80)
- "Bullish" (above 50)
- "Bearish" (below 50)
- "Oversold" (below 20)
#### Row Explanations:
1. ** Title Row **
- Shows "๐ฏ Multi-Timeframe Stochastic"
- Indicates the indicator is active
2. ** Header Row **
- Contains column titles
- Dark blue background for easy reading
3. ** Timeframe Rows **
- Six rows showing different timeframe analyses
- Each row updates independently
- Color-coded for easy trend identification
4. **Message Row**
- Shows rotating motivational messages
- Updates every 5 bars
- Helps maintain trading discipline
### Visual Indicators and Colors
- ** Green Background **: Indicates bullish conditions
- ** Red Background **: Indicates bearish conditions
- ** Color Intensity **: Shows strength of the signal
- ** Background Highlights **: Appear when alert conditions are met
## 3. Core Settings Groups
### Stochastic Settings
These settings control the core calculation of the stochastic oscillator.
1. ** Length (Default: 14) **
- What it does: Determines the lookback period for calculations
- Higher values (e.g., 21): More stable, fewer signals
- Lower values (e.g., 8): More sensitive, more signals
- Recommended:
* Day Trading: 8-14
* Swing Trading: 14-21
* Position Trading: 21-30
2. ** Smooth K (Default: 3) **
- What it does: Smooths the main stochastic line
- Higher values: Smoother line, fewer false signals
- Lower values: More responsive, but more noise
- Recommended:
* Day Trading: 2-3
* Swing Trading: 3-5
* Position Trading: 5-7
3. ** Smooth D (Default: 3) **
- What it does: Smooths the signal line
- Works in conjunction with Smooth K
- Usually kept equal to or slightly higher than Smooth K
- Recommended: Keep same as Smooth K for consistency
4. ** Source (Default: Close) **
- What it does: Determines price data for calculations
- Options: Close, Open, High, Low, HL2, HLC3, OHLC4
- Recommended: Stick with Close for most reliable signals
### Timeframe Settings
Controls the multiple timeframes analyzed by the indicator.
1. ** Main Timeframes (TF1-TF6) **
- TF1 (Default: 10): Shortest timeframe for quick signals
- TF2 (Default: 15): Short-term trend confirmation
- TF3 (Default: 30): Medium-term trend analysis
- TF4 (Default: 30): Additional medium-term confirmation
- TF5 (Default: 60): Longer-term trend analysis
- TF6 (Default: 240): Major trend confirmation
Recommended Combinations:
* Scalping: 1, 3, 5, 15, 30, 60
* Day Trading: 5, 15, 30, 60, 240, D
* Swing Trading: 15, 60, 240, D, W, M
2. ** Wait for Bar Close (Default: true) **
- What it does: Controls when calculations update
- True: More reliable but slightly delayed signals
- False: Faster signals but may change before bar closes
- Recommended: Keep True for more reliable signals
### Alert Settings
#### Main Alert Settings
1. ** Enable Alerts (Default: true) **
- Master switch for all alert notifications
- Toggle this off when you don't want any alerts
- Useful during testing or when you want to focus on visual signals only
2. ** Alert Condition (Options) **
- "Above Middle": Bullish momentum alerts only
- "Below Middle": Bearish momentum alerts only
- "Both": Alerts for both directions
- Recommended:
* Trending Markets: Choose direction matching the trend
* Ranging Markets: Use "Both" to catch reversals
* New Traders: Start with "Both" until you develop a specific strategy
3. ** Alert Frequency **
- "Once Per Bar": Immediate alerts during the bar
- "Once Per Bar Close": Alerts only after bar closes
- Recommended:
* Day Trading: "Once Per Bar" for quick reactions
* Swing Trading: "Once Per Bar Close" for confirmed signals
* Beginners: "Once Per Bar Close" to reduce false signals
#### Timeframe Check Settings
1. ** First Check (TF1) **
- Purpose: Confirms basic trend direction
- Alert Triggers When:
* For Bullish: Stochastic is above middle line (50)
* For Bearish: Stochastic is below middle line (50)
* For Both: Triggers in either direction based on position relative to middle line
- Settings:
* Enable/Disable: Turn first check on/off
* Timeframe: Default 5 minutes
- Best Used For:
* Quick trend confirmation
* Entry timing
* Scalping setups
2. ** Second Check (TF2) **
- Purpose: Confirms both position and momentum
- Alert Triggers When:
* For Bullish: Stochastic is above middle line AND both K&D lines are increasing
* For Bearish: Stochastic is below middle line AND both K&D lines are decreasing
* For Both: Triggers based on position and direction matching current condition
- Settings:
* Enable/Disable: Turn second check on/off
* Timeframe: Default 15 minutes
- Best Used For:
* Trend strength confirmation
* Avoiding false breakouts
* Day trading setups
3. ** Third Check (TF3) **
- Purpose: Confirms overall momentum direction
- Alert Triggers When:
* For Bullish: Both K&D lines are increasing (momentum confirmation)
* For Bearish: Both K&D lines are decreasing (momentum confirmation)
* For Both: Triggers based on matching momentum direction
- Settings:
* Enable/Disable: Turn third check on/off
* Timeframe: Default 30 minutes
- Best Used For:
* Major trend confirmation
* Swing trading setups
* Avoiding trades against the main trend
Note: All three conditions must be met simultaneously for the alert to trigger. This multi-timeframe confirmation helps reduce false signals and provides stronger trade setups.
#### Alert Combinations Examples
1. ** Conservative Setup **
- Enable all three checks
- Use "Once Per Bar Close"
- Timeframe Selection Example:
* First Check: 15 minutes
* Second Check: 1 hour (60 minutes)
* Third Check: 4 hours (240 minutes)
- Wider gaps between timeframes reduce noise and false signals
- Best for: Swing trading, beginners
2. ** Aggressive Setup **
- Enable first two checks only
- Use "Once Per Bar"
- Timeframe Selection Example:
* First Check: 5 minutes
* Second Check: 15 minutes
- Closer timeframes for quicker signals
- Best for: Day trading, experienced traders
3. ** Balanced Setup **
- Enable all checks
- Use "Once Per Bar"
- Timeframe Selection Example:
* First Check: 5 minutes
* Second Check: 15 minutes
* Third Check: 1 hour (60 minutes)
- Balanced spacing between timeframes
- Best for: All-around trading
### Visual Settings
#### Alert Visual Settings
1. ** Show Background Color (Default: true) **
- What it does: Highlights chart background when alerts trigger
- Benefits:
* Makes signals more visible
* Helps spot opportunities quickly
* Provides visual confirmation of alerts
- When to disable:
* If using multiple indicators
* When preferring a cleaner chart
* During manual backtesting
2. ** Background Transparency (Default: 90) **
- Range: 0 (solid) to 100 (invisible)
- Recommended Settings:
* Clean Charts: 90-95
* Multiple Indicators: 85-90
* Single Indicator: 80-85
- Tip: Adjust based on your chart's overall visibility
3. ** Background Colors **
- Bullish Background:
* Default: Green
* Indicates upward momentum
* Customizable to match your theme
- Bearish Background:
* Default: Red
* Indicates downward momentum
* Customizable to match your theme
#### Level Settings
1. ** Oversold Level (Default: 20) **
- Traditional Setting: 20
- Adjustable Range: 0-100
- Usage:
* Lower values (e.g., 10): More conservative
* Higher values (e.g., 30): More aggressive
- Trading Applications:
* Potential bullish reversal zone
* Support level in uptrends
* Entry point for long positions
2. ** Overbought Level (Default: 80) **
- Traditional Setting: 80
- Adjustable Range: 0-100
- Usage:
* Lower values (e.g., 70): More aggressive
* Higher values (e.g., 90): More conservative
- Trading Applications:
* Potential bearish reversal zone
* Resistance level in downtrends
* Exit point for long positions
3. ** Middle Line (Default: 50) **
- Purpose: Trend direction separator
- Applications:
* Above 50: Bullish territory
* Below 50: Bearish territory
* Crossing 50: Potential trend change
- Trading Uses:
* Trend confirmation
* Entry/exit trigger
* Risk management level
#### Color Settings
1. ** Bullish Color (Default: Green) **
- Used for:
* K-Line (Main stochastic line)
* Status symbols when trending up
* Trend labels for bullish conditions
- Customization:
* Choose colors that stand out
* Match your trading platform theme
* Consider color blindness accessibility
2. ** Bearish Color (Default: Red) **
- Used for:
* D-Line (Signal line)
* Status symbols when trending down
* Trend labels for bearish conditions
- Customization:
* Choose contrasting colors
* Ensure visibility on your chart
* Consider monitor settings
3. ** Neutral Color (Default: Gray) **
- Used for:
* Middle line (50 level)
- Customization:
* Should be less prominent
* Easy on the eyes
* Good background contrast
### Theme Settings
1. **Color Theme Options**
- Dark Theme (Default):
* Dark background with white text
* Optimized for dark chart backgrounds
* Reduces eye strain in low light
- Light Theme:
* Light background with black text
* Better visibility in bright conditions
- Custom Theme:
* Use your own color preferences
2. ** Available Theme Colors **
- Table Background
- Table Text
- Table Headers
Note: The theme affects only the table display colors. The stochastic lines and alert backgrounds use their own color settings.
### Table Settings
#### Position and Size
1. ** Table Position **
- Options:
* Top Right (Default)
* Middle Right
* Bottom Right
* Top Left
* Middle Left
* Bottom Left
- Considerations:
* Chart space utilization
* Personal preference
* Multiple monitor setups
2. ** Text Sizes **
- Title Size Options:
* Tiny: Minimal space usage
* Small: Compact but readable
* Normal (Default): Standard visibility
* Large: Enhanced readability
* Huge: Maximum visibility
- Data Size Options:
* Recommended: One size smaller than title
* Adjust based on screen resolution
* Consider viewing distance
3. ** Empowering Messages **
- Purpose:
* Maintain trading discipline
* Provide psychological support
* Remind of best practices
- Rotation:
* Changes every 5 bars
* Categories include:
- Market Wisdom
- Strategy & Discipline
- Mindset & Growth
- Technical Mastery
- Market Philosophy
## 4. Setting Up for Different Trading Styles
### Day Trading Setup
1. **Timeframes**
- Primary: 5, 15, 30 minutes
- Secondary: 1H, 4H
- Alert Settings: "Once Per Bar"
2. ** Stochastic Settings **
- Length: 8-14
- Smooth K/D: 2-3
- Alert Condition: Match market trend
3. ** Visual Settings **
- Background: Enabled
- Transparency: 85-90
- Theme: Based on trading hours
### Swing Trading Setup
1. ** Timeframes **
- Primary: 1H, 4H, Daily
- Secondary: Weekly
- Alert Settings: "Once Per Bar Close"
2. ** Stochastic Settings **
- Length: 14-21
- Smooth K/D: 3-5
- Alert Condition: "Both"
3. ** Visual Settings **
- Background: Optional
- Transparency: 90-95
- Theme: Personal preference
### Position Trading Setup
1. ** Timeframes **
- Primary: Daily, Weekly
- Secondary: Monthly
- Alert Settings: "Once Per Bar Close"
2. ** Stochastic Settings **
- Length: 21-30
- Smooth K/D: 5-7
- Alert Condition: "Both"
3. ** Visual Settings **
- Background: Disabled
- Focus on table data
- Theme: High contrast
## 5. Troubleshooting Guide
### Common Issues and Solutions
1. ** Too Many Alerts **
- Cause: Settings too sensitive
- Solutions:
* Increase timeframe intervals
* Use "Once Per Bar Close"
* Enable fewer timeframe checks
* Adjust stochastic length higher
2. ** Missed Signals **
- Cause: Settings too conservative
- Solutions:
* Decrease timeframe intervals
* Use "Once Per Bar"
* Enable more timeframe checks
* Adjust stochastic length lower
3. ** False Signals **
- Cause: Insufficient confirmation
- Solutions:
* Enable all three timeframe checks
* Use larger timeframe gaps
* Wait for bar close
* Confirm with price action
4. ** Visual Clarity Issues **
- Cause: Poor contrast or overlap
- Solutions:
* Adjust transparency
* Change theme settings
* Reposition table
* Modify color scheme
### Best Practices
1. ** Getting Started **
- Start with default settings
- Use "Both" alert condition
- Enable all timeframe checks
- Wait for bar close
- Monitor for a few days
2. ** Fine-Tuning **
- Adjust one setting at a time
- Document changes and results
- Test in different market conditions
- Find your optimal timeframe combination
- Balance sensitivity with reliability
3. ** Risk Management **
- Don't trade against major trends
- Confirm signals with price action
- Use appropriate position sizing
- Set clear stop losses
- Follow your trading plan
4. ** Regular Maintenance **
- Review settings weekly
- Adjust for market conditions
- Update color scheme for visibility
- Clean up chart regularly
- Maintain trading journal
## 6. Tips for Success
1. ** Entry Strategies **
- Wait for all timeframes to align
- Confirm with price action
- Use proper position sizing
- Consider market conditions
2. ** Exit Strategies **
- Trail stops using indicator levels
- Take partial profits at targets
- Honor your stop losses
- Don't fight the trend
3. ** Psychology **
- Stay disciplined with settings
- Don't override system signals
- Keep emotions in check
- Learn from each trade
4. ** Continuous Improvement **
- Record your trades
- Review performance regularly
- Adjust settings gradually
- Stay educated on markets
Wick Length Display + Alert conditionsDescription of the Wick Length Display (Advanced) script
Originality and purpose of the script
The Wick Length Display (Advanced) script is an innovative tool for traders who want to gain detailed insights into the length of candle wicks. It stands out for its versatility and user-friendly customization options. It combines precise technical calculations with visual representation to provide important information about market movements and dynamics right on the chart.
Functionality
The script calculates and displays the length of the upper and lower wicks of each candle on the chart. It also provides additional visual cues such as:
โข โBull pressureโ: When green candles do not have upper wicks, this indicates strong buying pressure.
โข โBear pressureโ: When red candles do not have lower wicks, this indicates strong selling pressure.
โข Threshold conditions: Only displays wicks that exceed a certain threshold (optional).
โข Display in pips: Allows you to display wick lengths in pips, which is useful for forex traders.
How it works
The script analyzes each candle using the following calculations:
1. Wick length calculation:
โฆ Upper wick length = High - (top of the body)
โฆ Lower wick length = (bottom of the body) - Low
2. Display conditions:
โฆ It distinguishes between bullish and bearish candles.
โฆ It checks if the calculated wicks exceed the defined thresholds before displaying them.
3. Dynamic labels:
โฆ Labels are placed above or below the respective candles.
โฆ Size, color and type of labels are fully customizable.
4. Limitation of labels:
โฆ To ensure clarity, a maximum number of labels is defined.
Usage
1. Customization:
โฆ Open the script in the Pine Script Editor in TradingView.
โฆ Use the input options to customize parameters such as color selection, label size, thresholds and other details according to your requirements.
2. Enable thresholds:
โฆ Enable thresholds to show labels only for relevant wicks (default is 6).
โฆ Define the minimum wick lengths for bullish (green) and bearish (red) candles.
3. Show in pips:
โฆ Enable the โShow wick length in pipsโ option to show the results in pips (especially suitable for Forex).
4. Edit pressure labels:
โฆ Turn the โBull Pressureโ and โBear Pressureโ features on or off depending on your analysis settings.
Concepts behind the calculations
โข Technical market analysis: Wick lengths can indicate buying or selling pressure and provide important information on market psychology.
โข Thresholds and filtering: The script uses thresholds to avoid visual overload and highlight only essential data.
โข Label display: Dynamic labels improve chart readability and give the user instant feedback on market developments.
Usage
This script is great for:
โข Intraday trading: Analyzing short-term movements using wick lengths.
โข Forex trading: Tracking market momentum using the pip indicator.
โข Swing trading: Identifying buying or selling pressure in key markets.
โข Visual support: Ideal for traders who prefer a graphical display.
Description of the Wick Length Display (Advanced) script
Originality and purpose of the script
The Wick Length Display (Advanced) script is an innovative tool for traders who want to gain detailed insights into the length of candle wicks. It stands out for its versatility and user-friendly customization options. It combines precise technical calculations with visual representation to provide important information about market movements and dynamics right on the chart.
Functionality
The script calculates and displays the length of the upper and lower wicks of each candle on the chart. It also provides additional visual cues such as:
โข โBull pressureโ: When green candles do not have upper wicks, this indicates strong buying pressure.
โข โBear pressureโ: When red candles do not have lower wicks, this indicates strong selling pressure.
โข Threshold conditions: Only displays wicks that exceed a certain threshold (optional).
โข Display in pips: Allows you to display wick lengths in pips, which is useful for forex traders.
How it works
The script analyzes each candle using the following calculations:
1. Wick length calculation:
โฆ Upper wick length = High - (top of the body)
โฆ Lower wick length = (bottom of the body) - Low
2. Display conditions:
โฆ It distinguishes between bullish and bearish candles.
โฆ It checks if the calculated wicks exceed the defined thresholds before displaying them.
3. Dynamic labels:
โฆ Labels are placed above or below the respective candles.
โฆ Size, color and type of labels are fully customizable.
4. Limitation of labels
Alert conditions:
Alerts are triggered when the wick length of a bullish or bearish candle exceeds the defined thresholds.
Alert function:
alert() is used to issue messages with a frequency of once per candle when the conditions are met.
How to set up alerts
Save the script and add it to your chart.
Open the alert settings in TradingView.
Select the script's custom message as a trigger.
Adjust the frequency and notification type (popup, email, etc.).
Now you have a powerful tool with visual analysis and alert function!
Uptrick: Trend SMA Oscillator### In-Depth Analysis of the "Uptrick: Trend SMA Oscillator" Indicator
---
#### Introduction to the Indicator
The "Uptrick: Trend SMA Oscillator" is an advanced yet user-friendly technical analysis tool designed to help traders across all levels of experience identify and follow market trends with precision. This indicator builds upon the fundamental principles of the Simple Moving Average (SMA), a cornerstone of technical analysis, to deliver a clear, visually intuitive overlay on the price chart. Through its strategic use of color-coding and customizable parameters, the Uptrick: Trend SMA Oscillator provides traders with actionable insights into market dynamics, enhancing their ability to make informed trading decisions.
#### Core Concepts and Methodology
1. **Foundational Principle โ Simple Moving Average (SMA):**
- The Simple Moving Average (SMA) is the heart of the Uptrick: Trend SMA Oscillator. The SMA is a widely-used technical indicator that calculates the average price of an asset over a specified number of periods. By smoothing out price data, the SMA helps to reduce the noise from short-term fluctuations, providing a clearer picture of the overall trend.
- In the Uptrick: Trend SMA Oscillator, two SMAs are employed:
- **Primary SMA (oscValue):** This is applied to the closing price of the asset over a user-defined period (default is 14 periods). This SMA tracks the price closely and is sensitive to changes in market direction.
- **Smoothing SMA (oscV):** This second SMA is applied to the primary SMA, further smoothing the data and helping to filter out minor price movements that might otherwise be mistaken for trend reversals. The default period for this smoothing is 50, but it can be adjusted to suit the trader's preference.
2. **Color-Coding for Trend Visualization:**
- One of the most distinctive features of this indicator is its use of color to represent market trends. The indicatorโs line changes color based on the relationship between the primary SMA and the smoothing SMA:
- **Bullish (Green):** The line turns green when the primary SMA is equal to or greater than the smoothing SMA, indicating that the market is in an upward trend.
- **Bearish (Red):** Conversely, the line turns red when the primary SMA falls below the smoothing SMA, signaling a downward trend.
- This color-coded system provides traders with an immediate, easy-to-interpret visual cue about the marketโs direction, allowing for quick decision-making.
#### Detailed Explanation of Inputs
1. **Bullish Color (Default: Green #00ff00):**
- This input allows traders to customize the color that represents bullish trends on the chart. The default setting is green, a color commonly associated with upward market movement. However, traders can adjust this to any color that suits their visual preferences or matches their overall chart theme.
2. **Bearish Color (Default: Red RGB: 245, 0, 0):**
- The bearish color input determines the color of the line when the market is trending downwards. The default setting is a vivid red, signaling caution or selling opportunities. Like the bullish color, this can be customized to fit the traderโs needs.
3. **Line Thickness (Default: 5):**
- This setting controls the thickness of the line plotted by the indicator. The default thickness of 5 makes the line prominent on the chart, ensuring that the trend is easily visible even in complex or crowded chart setups. Traders can adjust the thickness to make the line thinner or thicker, depending on their visual preferences.
4. **Primary SMA Period (Value 1 - Default: 14):**
- The primary SMA period defines how many periods (e.g., days, hours) are used to calculate the moving average based on the assetโs closing prices. The default period of 14 is a balanced setting that offers a good mix of responsiveness and stability, but traders can adjust this depending on their trading style:
- **Shorter Periods (e.g., 5-10):** These make the indicator more sensitive, capturing trends more quickly but also increasing the likelihood of reacting to short-term price fluctuations or "noise."
- **Longer Periods (e.g., 20-50):** These smooth the data more, providing a more stable trend line that is less prone to whipsaws but may be slower to respond to trend changes.
5. **Smoothing SMA Period (Value 2 - Default: 50):**
- The smoothing SMA period determines how much the primary SMA is smoothed. A longer smoothing period results in a more gradual, stable line that focuses on the broader trend. The default of 50 is designed to smooth out most of the short-term fluctuations while still being responsive enough to detect significant trend shifts.
- **Customization:**
- **Shorter Smoothing Periods (e.g., 20-30):** Make the indicator more responsive, better for fast-moving markets or for traders who want to capture quick trends.
- **Longer Smoothing Periods (e.g., 70-100):** Enhance stability, ideal for long-term traders looking to avoid reacting to minor price movements.
#### Unique Characteristics and Advantages
1. **Simplicity and Clarity:**
- The Uptrick: Trend SMA Oscillatorโs design prioritizes simplicity without sacrificing effectiveness. By relying on the widely understood SMA, it avoids the complexity of more esoteric indicators while still providing reliable trend signals. This simplicity makes it accessible to traders of all levels, from novices who are just learning about technical analysis to experienced traders looking for a straightforward, dependable tool.
2. **Visual Feedback Mechanism:**
- The indicatorโs use of color to signify market trends is a particularly powerful feature. This visual feedback mechanism allows traders to assess market conditions at a glance. The clarity of the green and red color scheme reduces the mental effort required to interpret the indicator, freeing the trader to focus on strategy execution.
3. **Adaptability Across Markets and Timeframes:**
- One of the strengths of the Uptrick: Trend SMA Oscillator is its versatility. The basic principles of moving averages apply equally well across different asset classes and timeframes. Whether trading stocks, forex, commodities, or cryptocurrencies, traders can use this indicator to gain insights into market trends.
- **Intraday Trading:** For day traders who operate on short timeframes (e.g., 1-minute, 5-minute charts), the oscillator can be adjusted to be more responsive, capturing quick shifts in momentum.
- **Swing Trading:** Swing traders, who typically hold positions for several days to weeks, will find the default settings or slightly adjusted periods ideal for identifying and riding medium-term trends.
- **Long-Term Trading:** Position traders and investors can adjust the indicator to focus on long-term trends by increasing the periods for both the primary and smoothing SMAs, filtering out minor fluctuations and highlighting sustained market movements.
4. **Minimal Lag:**
- One of the challenges with moving averages is lagโthe delay between when the price changes and when the indicator reflects this change. The Uptrick: Trend SMA Oscillator addresses this by allowing traders to adjust the periods to find a balance between responsiveness and stability. While all SMAs inherently have some lag, the customizable nature of this indicator helps traders mitigate this effect to align with their specific trading goals.
5. **Customizable and Intuitive:**
- While many technical indicators come with a fixed set of parameters, the Uptrick: Trend SMA Oscillator is fully customizable, allowing traders to tailor it to their trading style, market conditions, and personal preferences. This makes it a highly flexible tool that can be adjusted as markets evolve or as a traderโs strategy changes over time.
#### Practical Applications for Different Trader Profiles
1. **Day Traders:**
- **Use Case:** Day traders can customize the SMA periods to create a faster, more responsive indicator. This allows them to capture short-term trends and make quick decisions. For example, reducing the primary SMA to 5 and the smoothing SMA to 20 can help day traders react promptly to intraday price movements.
- **Strategy Integration:** Day traders might use the Uptrick: Trend SMA Oscillator in conjunction with volume-based indicators to confirm the strength of a trend before entering or exiting trades.
2. **Swing Traders:**
- **Use Case:** Swing traders can use the default settings or slightly adjust them to smooth out minor price fluctuations while still capturing medium-term trends. This approach helps in identifying the optimal points to enter or exit trades based on the broader market direction.
- **Strategy Integration:** Swing traders can combine this indicator with oscillators like the Relative Strength Index (RSI) to confirm overbought or oversold conditions, thereby refining their entry and exit strategies.
3. **Position Traders:**
- **Use Case:** Position traders, who hold trades for extended periods, can extend the SMA periods to focus on long-term trends. By doing so, they minimize the impact of short-term market noise and focus on the underlying trend.
- **Strategy Integration:** Position traders might use the Uptrick: Trend SMA Oscillator in combination with fundamental analysis. The indicator can help confirm the timing of entries and exits based on broader economic or corporate developments.
4. **Algorithmic and Quantitative Traders:**
- **Use Case:** The simplicity and clear logic of the Uptrick: Trend SMA Oscillator make it an excellent candidate for algorithmic trading strategies. Its binary outputโbullish or bearishโcan be easily coded into automated trading systems.
- **Strategy Integration:** Quant traders might use the indicator as part of a larger trading system that incorporates multiple indicators and rules, optimizing the SMA periods based on historical backtesting to achieve the best results.
5. **Novice Traders:**
- **Use Case:** Beginners can use the Uptrick: Trend SMA Oscillator to learn the basics of trend-following strategies.
The visual simplicity of the color-coded line helps novice traders quickly understand market direction without the need to interpret complex data.
- **Educational Value:** The indicator serves as an excellent starting point for those new to technical analysis, providing a practical example of how moving averages work in a real-world trading environment.
#### Combining the Indicator with Other Tools
1. **Relative Strength Index (RSI):**
- The RSI is a momentum oscillator that measures the speed and change of price movements. When combined with the Uptrick: Trend SMA Oscillator, traders can look for instances where the RSI shows divergence from the price while the oscillator confirms the trend. This can be a powerful signal of an impending reversal or continuation.
2. **Moving Average Convergence Divergence (MACD):**
- The MACD is another popular trend-following momentum indicator. By using it alongside the Uptrick: Trend SMA Oscillator, traders can confirm the strength of a trend and identify potential entry and exit points with greater confidence. For example, a bullish crossover on the MACD that coincides with the Uptrick: Trend SMA Oscillator turning green can be a strong buy signal.
3. **Volume Indicators:**
- Volume is often considered the fuel behind price movements. Using volume indicators like the On-Balance Volume (OBV) or Volume Weighted Average Price (VWAP) in conjunction with the Uptrick: Trend SMA Oscillator can help traders confirm the validity of a trend. A trend identified by the oscillator that is supported by increasing volume is typically more reliable.
4. **Fibonacci Retracement:**
- Fibonacci retracement levels are used to identify potential reversal levels in a trending market. When the Uptrick: Trend SMA Oscillator indicates a trend, traders can use Fibonacci retracement levels to find potential entry points that align with the broader trend direction.
#### Implementation in Different Market Conditions
1. **Trending Markets:**
- The Uptrick: Trend SMA Oscillator excels in trending markets, where it provides clear signals on the direction of the trend. In a strong uptrend, the line will remain green, helping traders stay in the trade for longer periods. In a downtrend, the red line will signal the continuation of bearish conditions, prompting traders to stay short or avoid long positions.
2. **Sideways or Range-Bound Markets:**
- In range-bound markets, where price oscillates within a confined range without a clear trend, the Uptrick: Trend SMA Oscillator may produce more frequent changes in color. While this could indicate potential reversals at the range boundaries, traders should be cautious of false signals. It may be beneficial to pair the oscillator with a volatility indicator to better navigate such conditions.
3. **Volatile Markets:**
- In highly volatile markets, where prices can swing rapidly, the sensitivity of the Uptrick: Trend SMA Oscillator can be adjusted by modifying the SMA periods. A shorter SMA period might capture quick trends, but traders should be aware of the increased risk of whipsaws. Combining the oscillator with a volatility filter or using it in a higher time frame might help mitigate some of this risk.
#### Final Thoughts
The "Uptrick: Trend SMA Oscillator" is a versatile, easy-to-use indicator that stands out for its simplicity, visual clarity, and adaptability. It provides traders with a straightforward method to identify and follow market trends, using the well-established concept of moving averages. The indicatorโs customizable nature makes it suitable for a wide range of trading styles, from day trading to long-term investing, and across various asset classes.
By offering immediate visual feedback through color-coded signals, the Uptrick: Trend SMA Oscillator simplifies the decision-making process, allowing traders to focus on execution rather than interpretation. Whether used on its own or as part of a broader technical analysis toolkit, this indicator has the potential to enhance trading strategies and improve overall performance.
Its accessibility and ease of use make it particularly appealing to novice traders, while its adaptability and reliability ensure that it remains a valuable tool for more experienced market participants. As markets continue to evolve, the Uptrick: Trend SMA Oscillator remains a timeless tool, rooted in the fundamental principles of technical analysis, yet flexible enough to meet the demands of modern trading.
Uptrick: MultiTrend Squeeze System**Uptrick: MultiTrend Squeeze System Indicator: The Ultimate Trading Tool for Precision and Versatility ๐๐ฅ**
### Introduction
The MultiTrend Squeeze System is a powerful, multi-faceted trading indicator designed to provide traders with precise buy and sell signals by combining the strengths of multiple technical analysis tools. This script isn't just an indicator; it's a comprehensive trading system that merges the power of SuperTrend, RSI, Volume Filtering, and Squeeze Momentum to give you an unparalleled edge in the market. Whether you're a day trader looking for short-term opportunities or a swing trader aiming to catch longer-term trends, this indicator is tailored to meet your needs.
### Key Features and Unique Aspects
1. **SuperTrend with Dynamic Adjustments ๐**
- **Adaptive SuperTrend Calculation:** The SuperTrend is a popular trend-following indicator that adjusts dynamically based on market conditions. It uses the Average True Range (ATR) to calculate upper and lower bands, which shift according to market volatility. This script takes it further by combining it with the RSI and Volume filtering to provide more accurate signals.
- **Direction Sensitivity:** The SuperTrend here is not static. It adjusts based on the direction of the previous SuperTrend value, ensuring that the indicator remains relevant even in choppy markets.
2. **RSI Integration for Overbought/Oversold Conditions ๐น**
- **RSI Calculation:** The Relative Strength Index (RSI) is incorporated to identify overbought and oversold conditions, adding an extra layer of precision. This helps in filtering out false signals and ensuring that trades are taken only in optimal conditions.
- **Customizable RSI Settings:** The RSI settings are fully customizable, allowing traders to adjust the RSI length and the overbought/oversold levels according to their trading style and market.
3. **Volume Filtering for Enhanced Signal Confirmation ๐**
- **Volume Multiplier:** This unique feature integrates volume analysis, ensuring that signals are only generated when there is sufficient market participation. The Volume Multiplier can be adjusted to filter out weak signals that occur during low-volume periods.
- **Optional Volume Filtering:** Traders have the flexibility to turn the volume filter on or off, depending on their preference or market conditions. This makes the indicator versatile, allowing it to be used across different asset classes and market conditions.
4. **Squeeze Momentum Indicator (SMI) for Market Pressure Analysis ๐ฅ**
- **Squeeze Detection:** The Squeeze Momentum Indicator detects periods of market compression and expansion. This script goes beyond the traditional Bollinger Bands and Keltner Channels by incorporating true range calculations, offering a more nuanced view of market momentum.
- **Customizable Squeeze Settings:** The lengths and multipliers for both Bollinger Bands and Keltner Channels are customizable, giving traders the flexibility to fine-tune the indicator based on their specific needs.
5. **Visual and Aesthetic Customization ๐จ**
- **Color-Coding for Clarity:** The indicator is color-coded to make it easy to interpret signals. Bullish trends are marked with a vibrant green color, while bearish trends are highlighted in red. Neutral or unconfirmed signals are displayed in softer tones to reduce noise.
- **Histogram Visualization:** The primary trend direction and strength are displayed as a histogram, making it easy to visualize the market's momentum at a glance. The height and color of the bars provide immediate feedback on the strength and direction of the trend.
6. **Alerts for Real-Time Trading ๐จ**
- **Custom Alerts:** The script is equipped with custom alerts that notify traders when a buy or sell signal is generated. These alerts can be configured to send notifications through various channels, including email, SMS, or directly to the trading platform.
- **Immediate Reaction:** The alerts are triggered based on the confluence of SuperTrend, RSI, and Volume signals, ensuring that traders are notified only when the most robust trading opportunities arise.
7. **Comprehensive Input Customization โ๏ธ**
- **SuperTrend Settings:** Adjust the ATR length and factor to control the sensitivity of the SuperTrend. This allows you to adapt the indicator to different market conditions, whether you're trading a volatile cryptocurrency or a more stable stock.
- **RSI Settings:** Customize the RSI length and thresholds for overbought and oversold conditions, enabling you to tailor the indicator to your specific trading strategy.
- **Volume Settings:** The Volume Multiplier and the option to toggle the volume filter provide an additional layer of customization, allowing you to fine-tune the indicator based on market liquidity and participation.
- **Squeeze Momentum Settings:** The lengths and multipliers for Bollinger Bands and Keltner Channels can be adjusted to detect different levels of market compression, providing flexibility for both short-term and long-term traders.
### How It Works: A Deep Dive Into the Mechanics ๐ ๏ธ
1. **SuperTrend Calculation:**
- The SuperTrend is calculated using the ATR, which measures market volatility. The indicator creates upper and lower bands around the price, adjusting these bands based on the current level of market volatility. The direction of the trend is determined by the position of the price relative to these bands.
- The script enhances the standard SuperTrend by ensuring that the bands do not flip-flop too quickly, reducing the chances of false signals in a choppy market. The direction is confirmed by checking the position of the close relative to the previous band, making the trend detection more reliable.
2. **RSI Integration:**
- The RSI is calculated over a customizable length and compared to user-defined overbought and oversold levels. When the RSI crosses below the oversold level, and the SuperTrend indicates a bullish trend, a buy signal is generated. Conversely, when the RSI crosses above the overbought level, and the SuperTrend indicates a bearish trend, a sell signal is triggered.
- The combination of RSI with SuperTrend ensures that trades are only taken when there is a strong confluence of signals, reducing the chances of entering trades during weak or indecisive market phases.
3. **Volume Filtering:**
- The script calculates the average volume over a 20-period simple moving average. The volume filter ensures that buy and sell signals are only valid when the current volume exceeds a multiple of this average, which can be adjusted by the user. This feature helps filter out weak signals that might occur during low-volume periods, such as just before a major news event or during after-hours trading.
- The volume filter is particularly useful in markets where volume spikes are common, as it ensures that signals are only generated when there is significant market interest in the direction of the trend.
4. **Squeeze Momentum:**
- The Squeeze Momentum Indicator (SMI) adds a layer of market pressure analysis. The script calculates Bollinger Bands and Keltner Channels, detecting when the market is in a "squeeze" โ a period of low volatility that typically precedes a significant price move.
- When the Bollinger Bands are inside the Keltner Channels, the market is in a squeeze (compression phase). This is often a precursor to a breakout or breakdown. The script colors the histogram bars black during this phase, indicating a potential for a strong move. Once the squeeze is released, the bars are colored according to the direction of the SuperTrend, signaling a potential entry point.
5. **Integration and Signal Generation:**
- The script brings together the SuperTrend, RSI, Volume, and Squeeze Momentum to generate highly accurate buy and sell signals. A buy signal is triggered when the SuperTrend is bullish, the RSI indicates oversold conditions, and the volume filter confirms strong market participation. Similarly, a sell signal is generated when the SuperTrend is bearish, the RSI indicates overbought conditions, and the volume filter is met.
- The combination of these elements ensures that the signals are robust, reducing the likelihood of entering trades during weak or indecisive market conditions.
### Practical Applications: How to Use the MultiTrend Squeeze System ๐
1. **Day Trading:**
- For day traders, this indicator provides quick and reliable signals that can be used to enter and exit trades multiple times within a day. The volume filter ensures that you are trading during the most liquid times of the day, increasing the chances of successful trades. The Squeeze Momentum aspect helps you catch breakouts or breakdowns, which are common in intraday trading.
2. **Swing Trading:**
- Swing traders can use the MultiTrend Squeeze System to identify longer-term trends. By adjusting the ATR length and factor, you can make the SuperTrend more sensitive to catch longer-term moves. The RSI and Squeeze Momentum aspects help you time your entries and exits, ensuring that you get in early on a trend and exit before it reverses.
3. **Scalping:**
- For scalpers, the quick signals provided by this system, especially in combination with the volume filter, make it easier to take small profits repeatedly. The histogram bars give you a clear visual cue of the market's momentum, making it easier to scalp effectively.
4. **Position Trading:**
- Even position traders can benefit from this indicator by using it to confirm long-term trends. By adjusting the settings to less sensitive parameters, you can ensure that you are only entering trades when a strong trend is confirmed. The Squeeze Momentum indicator will help you stay in the trade during periods of consolidation, waiting for the next big move.
### Conclusion: Why the MultiTrend Squeeze System is a Game-Changer ๐
The MultiTrend Squeeze System is not just another trading indicator; itโs a comprehensive trading strategy encapsulated within a single script. By combining the power
of SuperTrend, RSI, Volume Filtering, and Squeeze Momentum, this indicator provides a robust and versatile tool that can be adapted to various trading styles and market conditions.
**Why is it Unique?**
- **Multi-Dimensional Analysis:** Unlike many other indicators that rely on a single data point or calculation, this script incorporates multiple layers of analysis, ensuring that signals are based on a confluence of factors, which increases their reliability.
- **Customizability:** The vast range of input settings allows traders to tailor the indicator to their specific needs, whether they are trading forex, stocks, cryptocurrencies, or commodities.
- **Visual Clarity:** The color-coded bars, labels, and signals make it easy to interpret the market conditions at a glance, reducing the time needed to make trading decisions.
Whether you are a novice trader or an experienced market participant, the MultiTrend Squeeze System offers a powerful toolset to enhance your trading strategy, reduce risk, and maximize your potential returns. With its combination of trend analysis, momentum detection, and volume filtering, this indicator is designed to help you trade with confidence and precision in any market condition.
Swing Trend AnalysisIntroducing the Swing Trend Analyzer: A Powerful Tool for Swing and Positional Trading
The Swing Trend Analyzer is a cutting-edge indicator designed to enhance your swing and positional trading by providing precise entry points based on volatility contraction patterns and other key technical signals. This versatile tool is packed with features that cater to traders of all timeframes, offering flexibility, clarity, and actionable insights.
Key Features:
1. Adaptive Moving Averages:
The Swing Trend Analyzer offers multiple moving averages tailored to the timeframe you are trading on. On the daily chart, you can select up to four different moving average lengths, while all other timeframes provide three moving averages. This flexibility allows you to fine-tune your analysis according to your trading strategy. Disabling a moving average is as simple as setting its value to zero, making it easy to customize the indicator to your needs.
2. Dynamic Moving Average Colors Based on Relative Strength:
This feature allows you to compare the performance of the current ticker against a major index or any symbol of your choice. The moving average will change color based on whether the ticker is outperforming or underperforming the selected index over the chosen period. For example, on a daily chart, if the 21-day moving average turns blue, it indicates that the ticker has outperformed the selected index over the last 21 days. This visual cue helps you quickly identify relative strength, a key factor in successful swing trading.
3. Visual Identification of Price Contractions:
The Swing Trend Analyzer changes the color of price bars to white (on a dark theme) or black (on a light theme) when a contraction in price is detected. Price contractions are highlighted when either of the following conditions is met: a) the current bar is an inside bar, or b) the price range of the current bar is less than the 14-period Average Daily Range (ADR). This feature makes it easier to spot price contractions across all timeframes, which is crucial for timing entries in swing trading.
4. Overhead Supply Detection with Automated Resistance Lines:
The indicator intelligently detects the presence of overhead supply and draws a single resistance line to avoid clutter on the chart. As price breaches the resistance line, the old line is automatically deleted, and a new resistance line is drawn at the appropriate level. This helps you focus on the most relevant resistance levels, reducing noise and improving decision-making.
5. Buyable Gap Up Marker: The indicator highlights bars in blue when a candle opens with a gap that remains unfilled. These bars are potential Buyable Gap Up (BGU) candidates, signaling opportunities for long-side entries.
6. Comprehensive Swing Trading Information Table:
The indicator includes a detailed table that provides essential data for swing trading:
a. Sector and Industry Information: Understand the sector and industry of the ticker to identify stocks within strong sectors.
b. Key Moving Averages Distances (10MA, 21MA, 50MA, 200MA): Quickly assess how far the current price is from key moving averages. The color coding indicates whether the price is near or far from these averages, offering vital visual cues.
c. Price Range Analysis: Compare the current bar's price range with the previous bar's range to spot contraction patterns.
d. ADR (20, 10, 5): Displays the Average Daily Range over the last 20, 10, and 5 periods, crucial for identifying contraction patterns. On the weekly chart, the ADR continues to provide daily chart information.
e. 52-Week High/Low Data: Shows how close the stock is to its 52-week high or low, with color coding to highlight proximity, aiding in the identification of potential breakout or breakdown candidates.
f. 3-Month Price Gain: See the price gain over the last three months, which helps identify stocks with recent momentum.
7. Pocket Pivot Detection with Visual Markers:
Pocket pivots are a powerful bullish signal, especially relevant for swing trading. Pocket pivots are crucial for swing trading and are effective across all timeframes. The indicator marks pocket pivots with circular markers below the price bar:
a. 10-Day Pocket Pivot: Identified when the volume exceeds the maximum selling volume of the last 10 days. These are marked with a blue circle.
b. 5-Day Pocket Pivot: Identified when the volume exceeds the maximum selling volume of the last 5 days. These are marked with a green circle.
The Swing Trend Analyzer is designed to provide traders with the tools they need to succeed in swing and positional trading. Whether you're looking for precise entry points, analyzing relative strength, or identifying key price contractions, this indicator has you covered. Experience the power of advanced technical analysis with the Swing Trend Analyzer and take your trading to the next level.
Bifurcation Zone - CAEBifurcation Zone โ Cognitive Adversarial Engine (BZ-CAE)
Bifurcation Zone โ CAE (BZ-CAE) is a next-generation divergence detection system enhanced by a Cognitive Adversarial Engine that evaluates both sides of every potential trade before presenting signals. Unlike traditional divergence indicators that show every price-oscillator disagreement regardless of context, BZ-CAE applies comprehensive market-state intelligence to identify only the divergences that occur in favorable conditions with genuine probability edges.
The system identifies structural bifurcation points โ critical junctures where price and momentum disagree, signaling potential reversals or continuations โ then validates these opportunities through five interconnected intelligence layers: Trend Conviction Scoring , Directional Momentum Alignment , Multi-Factor Exhaustion Modeling , Adversarial Validation , and Confidence Scoring . The result is a selective, context-aware signal system that filters noise and highlights high-probability setups.
This is not a "buy the arrow" indicator. It's a decision support framework that teaches you how to read market state, evaluate divergence quality, and make informed trading decisions based on quantified intelligence rather than hope.
What Sets BZ-CAE Apart: Technical Architecture
The Problem With Traditional Divergence Indicators
Most divergence indicators operate on a simple rule: if price makes a higher high and RSI makes a lower high, show a bearish signal. If price makes a lower low and RSI makes a higher low, show a bullish signal. This creates several critical problems:
Context Blindness : They show counter-trend signals in powerful trends that rarely reverse, leading to repeated losses as you fade momentum.
Signal Spam : Every minor price-oscillator disagreement generates an alert, overwhelming you with low-quality setups and creating analysis paralysis.
No Quality Ranking : All signals are treated identically. A marginal divergence in choppy conditions receives the same visual treatment as a high-conviction setup at a major exhaustion point.
Single-Sided Evaluation : They ask "Is this a good long?" without checking if the short case is overwhelmingly stronger, leading you into obvious bad trades.
Static Configuration : You manually choose RSI 14 or Stochastic 14 and hope it works, with no systematic way to validate if that's optimal for your instrument.
BZ-CAE's Solution: Cognitive Adversarial Intelligence
BZ-CAE solves these problems through an integrated five-layer intelligence architecture:
1. Trend Conviction Score (TCS) โ 0 to 1 Scale
Most indicators check if ADX is above 25 to determine "trending" conditions. This binary approach misses nuance. TCS is a weighted composite metric:
Formula : 0.35 ร normalize(ADX, 10, 35) + 0.35 ร structural_strength + 0.30 ร htf_alignment
Structural Strength : 10-bar SMA of consecutive directional bars. Captures persistence โ are bulls or bears consistently winning?
HTF Alignment : Multi-timeframe EMA stacking (20/50/100/200). When all EMAs align in the same direction, you're in institutional trend territory.
Purpose : Quantifies how "locked in" the trend is. When TCS exceeds your threshold (default 0.80), the system knows to avoid counter-trend trades unless other factors override.
Interpretation :
TCS > 0.85: Very strong trend โ counter-trading is extremely high risk
TCS 0.70-0.85: Strong trend โ favor continuation, require exhaustion for reversals
TCS 0.50-0.70: Moderate trend โ context matters, both directions viable
TCS < 0.50: Weak/choppy โ reversals more viable, range-bound conditions
2. Directional Momentum Alignment (DMA) โ ATR-Normalized
Formula : (EMA21 - EMA55) / ATR14
This isn't just "price above EMA" โ it's a regime-aware momentum gauge. The same $100 price movement reads completely differently in high-volatility crypto versus low-volatility forex. By normalizing with ATR, DMA adapts its interpretation to current market conditions.
Purpose : Quantifies the directional "force" behind current price action. Positive = bullish push, negative = bearish push. Magnitude = strength.
Interpretation :
DMA > 0.7: Strong bullish momentum โ bearish divergences risky
DMA 0.3 to 0.7: Moderate bullish bias
DMA -0.3 to 0.3: Balanced/choppy conditions
DMA -0.7 to -0.3: Moderate bearish bias
DMA < -0.7: Strong bearish momentum โ bullish divergences risky
3. Multi-Factor Exhaustion Modeling โ 0 to 1 Probability
Single-metric exhaustion detection (like "RSI > 80") misses complex market states. BZ-CAE aggregates five independent exhaustion signals:
Volume Spikes : Current volume versus 50-bar average
2.5x average: 0.25 weight
2.0x average: 0.15 weight
1.5x average: 0.10 weight
Divergence Present : The fact that a divergence exists contributes 0.30 weight โ structural momentum disagreement is itself an exhaustion signal.
RSI Extremes : Captures oscillator climax zones
RSI > 80 or < 20: 0.25 weight
RSI > 75 or < 25: 0.15 weight
Pin Bar Detection : Identifies rejection candles (2:1 wick-to-body ratio, indicating failed breakout attempts): 0.15 weight
Extended Runs : Consecutive bars above/below EMA20 without pullback
30+ bars: 0.15 weight (market hasn't paused to consolidate)
Total exhaustion score is the sum of all applicable weights, capped at 1.0.
Purpose : Detects when strong trends become vulnerable to reversal. High exhaustion can override trend filters, allowing counter-trend trades at genuine turning points that basic indicators would miss.
Interpretation :
Exhaustion > 0.75: High probability of climax โ yellow background shading alerts you visually
Exhaustion 0.50-0.75: Moderate overextension โ watch for confirmation
Exhaustion < 0.50: Fresh move โ trend can continue, counter-trend trades higher risk
4. Adversarial Validation โ Game Theory Applied to Trading
This is BZ-CAE's signature innovation. Before approving any signal, the engine quantifies BOTH sides of the trade simultaneously:
For Bullish Divergences , it calculates:
Bull Case Score (0-1+) :
Distance below EMA20 (pullback quality): up to 0.25
Bullish EMA alignment (close > EMA20 > EMA50): 0.25
Oversold RSI (< 40): 0.25
Volume confirmation (> 1.2x average): 0.25
Bear Case Score (0-1+) :
Price below EMA50 (structural weakness): 0.30
Very oversold RSI (< 30, indicating knife-catching): 0.20
Differential = Bull Case - Bear Case
If differential < -0.10 (default threshold), the bear case is dominating โ signal is BLOCKED or ANNOTATED.
For Bearish Divergences , the logic inverts (Bear Case vs Bull Case).
Purpose : Prevents trades where you're fighting obvious strength in the opposite direction. This is institutional-grade risk management โ don't just evaluate your trade, evaluate the counter-trade simultaneously.
Why This Matters : You might see a bullish divergence at a local low, but if price is deeply below major support EMAs with strong bearish momentum, you're catching a falling knife. The adversarial check catches this and blocks the signal.
5. Confidence Scoring โ 0 to 1 Quality Assessment
Every signal that passes initial filters receives a comprehensive quality score:
Formula :
0.30 ร normalize(TCS) // Trend context
+ 0.25 ร normalize(|DMA|) // Momentum magnitude
+ 0.20 ร pullback_quality // Entry distance from EMA20
+ 0.15 ร state_quality // ADX + alignment + structure
+ 0.10 ร divergence_strength // Slope separation magnitude
+ adversarial_bonus (0-0.30) // Your side's advantage
Purpose : Ranks setup quality for filtering and position sizing decisions. You can set a minimum confidence threshold (default 0.35) to ensure only quality setups reach your chart.
Interpretation :
Confidence > 0.70: Premium setup โ consider increased position size
Confidence 0.50-0.70: Good quality โ standard size
Confidence 0.35-0.50: Acceptable โ reduced size or skip if conservative
Confidence < 0.35: Marginal โ blocked in Filtering mode, annotated in Advisory mode
CAE Operating Modes: Learning vs Enforcement
Off : Disables all CAE logic. Raw divergence pipeline only. Use for baseline comparison.
Advisory : Shows ALL signals regardless of CAE evaluation, but annotates signals that WOULD be blocked with specific warnings (e.g., "Bull: strong downtrend (TCS=0.87)" or "Adversarial bearish"). This is your learning mode โ see CAE's decision logic in action without missing educational opportunities.
Filtering : Actively blocks low-quality signals. Only setups that pass all enabled gates (Trend Filter, Adversarial Validation, Confidence Gating) reach your chart. This is your live trading mode โ trust the system to enforce discipline.
CAE Filter Gates: Three-Layer Protection
When CAE is enabled, signals must pass through three independent gates (each can be toggled on/off):
Gate 1: Strong Trend Filter
If TCS โฅ tcs_threshold (default 0.80)
And signal is counter-trend (bullish in downtrend or bearish in uptrend)
And exhaustion < exhaustion_required (default 0.50)
Then: BLOCK signal
Logic: Don't fade strong trends unless the move is clearly overextended
Gate 2: Adversarial Validation
Calculate both bull case and bear case scores
If opposing case dominates by more than adv_threshold (default 0.10)
Then: BLOCK signal
Logic: Avoid trades where you're fighting obvious strength in the opposite direction
Gate 3: Confidence Gating
Calculate composite confidence score (0-1)
If confidence < min_confidence (default 0.35)
Then: In Filtering mode, BLOCK signal; in Advisory mode, ANNOTATE with warning
Logic: Only take setups with minimum quality threshold
All three gates work together. A signal must pass ALL enabled gates to fire.
Visual Intelligence System
Bifurcation Zones (Supply/Demand Blocks)
When a divergence signal fires, BZ-CAE draws a semi-transparent box extending 15 bars forward from the signal pivot:
Demand Zones (Bullish) : Theme-colored box (cyan in Cyberpunk, blue in Professional, etc.) labeled "Demand" โ marks where smart money likely placed buy orders as price diverged at the low.
Supply Zones (Bearish) : Theme-colored box (magenta in Cyberpunk, orange in Professional) labeled "Supply" โ marks where smart money likely placed sell orders as price diverged at the high.
Theory : Divergences represent institutional disagreement with the crowd. The crowd pushed price to an extreme (new high or low), but momentum (oscillator) is waning, indicating smart money is taking the opposite side. These zones mark order placement areas that become future support/resistance.
Use Cases :
Exit targets: Take profit when price returns to opposite-side zone
Re-entry levels: If price returns to your entry zone, consider adding
Stop placement: Place stops just beyond your zone (below demand, above supply)
Auto-Cleanup : System keeps the last 20 zones to prevent chart clutter.
Adversarial Bar Coloring โ Real-Time Market Debate Heatmap
Each bar is colored based on the Bull Case vs Bear Case differential:
Strong Bull Advantage (diff > 0.3): Full theme bull color (e.g., cyan)
Moderate Bull Advantage (diff > 0.1): 50% transparency bull
Neutral (diff -0.1 to 0.1): Gray/neutral theme
Moderate Bear Advantage (diff < -0.1): 50% transparency bear
Strong Bear Advantage (diff < -0.3): Full theme bear color (e.g., magenta)
This creates a real-time visual heatmap showing which side is "winning" the market debate. When bars flip from cyan to magenta (or vice versa), you're witnessing a shift in adversarial advantage โ a leading indicator of potential momentum changes.
Exhaustion Shading
When exhaustion score exceeds 0.75, the chart background displays a semi-transparent yellow highlight. This immediate visual warning alerts you that the current move is at high risk of reversal, even if trend indicators remain strong.
Visual Themes โ Six Aesthetic Options
Cyberpunk : Cyan/Magenta/Yellow โ High contrast, neon aesthetic, excellent for dark-themed trading environments
Professional : Blue/Orange/Green โ Corporate color palette, suitable for presentations and professional documentation
Ocean : Teal/Red/Cyan โ Aquatic palette, calming for extended monitoring sessions
Fire : Orange/Red/Coral โ Warm aggressive colors, high energy
Matrix : Green/Red/Lime โ Code aesthetic, homage to classic hacker visuals
Monochrome : White/Gray โ Minimal distraction, maximum focus on price action
All visual elements (signal markers, zones, bar colors, dashboard) adapt to your selected theme.
Divergence Engine โ Core Detection System
What Are Divergences?
Divergences occur when price action and momentum indicators disagree, creating structural tension that often resolves in a change of direction:
Regular Divergence (Reversal Signal) :
Bearish Regular : Price makes higher high, oscillator makes lower high โ Potential trend reversal down
Bullish Regular : Price makes lower low, oscillator makes higher low โ Potential trend reversal up
Hidden Divergence (Continuation Signal) :
Bearish Hidden : Price makes lower high, oscillator makes higher high โ Downtrend continuation
Bullish Hidden : Price makes higher low, oscillator makes lower low โ Uptrend continuation
Both types can be enabled/disabled independently in settings.
Pivot Detection Methods
BZ-CAE uses symmetric pivot detection with separate lookback and lookforward periods (default 5/5):
Pivot High : Bar where high > all highs within lookback range AND high > all highs within lookforward range
Pivot Low : Bar where low < all lows within lookback range AND low < all lows within lookforward range
This ensures structural validity โ the pivot must be a clear local extreme, not just a minor wiggle.
Divergence Validation Requirements
For a divergence to be confirmed, it must satisfy:
Slope Disagreement : Price slope and oscillator slope must move in opposite directions (for regular divs) or same direction with inverted highs/lows (for hidden divs)
Minimum Slope Change : |osc_slope| > min_slope_change / 100 (default 1.0) โ filters weak, marginal divergences
Maximum Lookback Range : Pivots must be within max_lookback bars (default 60) โ prevents ancient, irrelevant divergences
ATR-Normalized Strength : Divergence strength = min(|price_slope| ร |osc_slope| ร 10, 1.0) โ quantifies the magnitude of disagreement in volatility context
Regular divergences receive 1.0ร weight; hidden divergences receive 0.8ร weight (slightly less reliable historically).
Oscillator Options โ Five Professional Indicators
RSI (Relative Strength Index) : Classic overbought/oversold momentum indicator. Best for: General purpose divergence detection across all instruments.
Stochastic : Range-bound %K momentum comparing close to high-low range. Best for: Mean reversion strategies and range-bound markets.
CCI (Commodity Channel Index) : Measures deviation from statistical mean, auto-normalized to 0-100 scale. Best for: Cyclical instruments and commodities.
MFI (Money Flow Index) : Volume-weighted RSI incorporating money flow. Best for: Volume-driven markets like stocks and crypto.
Williams %R : Inverse stochastic looking back over period, auto-adjusted to 0-100. Best for: Reversal detection at extremes.
Each oscillator has adjustable length (2-200, default 14) and smoothing (1-20, default 1). You also set overbought (50-100, default 70) and oversold (0-50, default 30) thresholds.
Signal Timing Modes โ Understanding Repainting
BZ-CAE offers two timing policies with complete transparency about repainting behavior:
Realtime (1-bar, peak-anchored)
How It Works :
Detects peaks 1 bar ago using pattern: high > high AND high > high
Signal prints on the NEXT bar after peak detection (bar_index)
Visual marker anchors to the actual PEAK bar (bar_index - 1, offset -1)
Signal locks in when bar CONFIRMS (closes)
Repainting Behavior :
On the FORMING bar (before close), the peak condition may change as new prices arrive
Once bar CLOSES (barstate.isconfirmed), signal is locked permanently
This is preview/early warning behavior by design
Best For :
Active monitoring and immediate alerts
Learning the system (seeing signals develop in real-time)
Responsive entry if you're watching the chart live
Confirmed (lookforward)
How It Works :
Uses Pine Script's built-in ta.pivothigh() and ta.pivotlow() functions
Requires full pivot validation period (lookback + lookforward bars)
Signal prints pivot_lookforward bars after the actual peak (default 5-bar delay)
Visual marker anchors to the actual peak bar (offset -pivot_lookforward)
No Repainting Behavior
Best For :
Backtesting and historical analysis
Conservative entries requiring full confirmation
Automated trading systems
Swing trading with larger timeframes
Tradeoff :
Delayed entry by pivot_lookforward bars (typically 5 bars)
On a 5-minute chart, this is a 25-minute delay
On a 4-hour chart, this is a 20-hour delay
Recommendation : Use Confirmed for backtesting to verify system performance honestly. Use Realtime for live monitoring only if you're actively watching the chart and understand pre-confirmation repainting behavior.
Signal Spacing System โ Anti-Spam Architecture
Even after CAE filtering, raw divergences can cluster. The spacing system enforces separation:
Three Independent Filters
1. Min Bars Between ANY Signals (default 12):
Prevents rapid-fire clustering across both directions
If last signal (bull or bear) was within N bars, block new signal
Ensures breathing room between all setups
2. Min Bars Between SAME-SIDE Signals (default 24, optional enforcement):
Prevents bull-bull or bear-bear spam
Separate tracking for bullish and bearish signal timelines
Toggle enforcement on/off
3. Min ATR Distance From Last Signal (default 0, optional):
Requires price to move N ร ATR from last signal location
Ensures meaningful price movement between setups
0 = disabled, 0.5-2.0 = typical range for enabled
All three filters work independently. A signal must pass ALL enabled filters to proceed.
Practical Guidance :
Scalping (1-5m) : Any 6-10, Same-side 12-20, ATR 0-0.5
Day Trading (15m-1H) : Any 12, Same-side 24, ATR 0-1.0
Swing Trading (4H-D) : Any 20-30, Same-side 40-60, ATR 1.0-2.0
Dashboard โ Real-Time Control Center
The dashboard (toggleable, four corner positions, three sizes) provides comprehensive system intelligence:
Oscillator Section
Current oscillator type and value
State: OVERBOUGHT / OVERSOLD / NEUTRAL (color-coded)
Length parameter
Cognitive Engine Section
TCS (Trend Conviction Score) :
Current value with emoji state indicator
๐ฅ = Strong trend (>0.75)
๐ = Moderate trend (0.50-0.75)
ใฐ๏ธ = Weak/choppy (<0.50)
Color: Red if above threshold (trend filter active), yellow if moderate, green if weak
DMA (Directional Momentum Alignment) :
Current value with emoji direction indicator
๐ = Bullish momentum (>0.5)
โ๏ธ = Balanced (-0.5 to 0.5)
๐ป = Bearish momentum (<-0.5)
Color: Green if bullish, red if bearish
Exhaustion :
Current value with emoji warning indicator
โ ๏ธ = High exhaustion (>0.75)
๐ก = Moderate (0.50-0.75)
โ = Low (<0.50)
Color: Red if high, yellow if moderate, green if low
Pullback :
Quality of current distance from EMA20
Values >0.6 are ideal entry zones (not too close, not too far)
Bull Case / Bear Case (if Adversarial enabled):
Current scores for both sides of the market debate
Differential with emoji indicator:
๐ = Bull advantage (>0.2)
โก๏ธ = Balanced (-0.2 to 0.2)
๐ = Bear advantage (<-0.2)
Last Signal Metrics Section (New Feature)
When a signal fires, this section captures and displays:
Signal type (BULL or BEAR)
Bars elapsed since signal
Confidence % at time of signal
TCS value at signal time
DMA value at signal time
Purpose : Provides a historical reference for learning. You can see what the market state looked like when the last signal fired, helping you correlate outcomes with conditions.
Statistics Section
Total Signals : Lifetime count across session
Blocked Signals : Count and percentage (filter effectiveness metric)
Bull Signals : Total bullish divergences
Bear Signals : Total bearish divergences
Purpose : System health monitoring. If blocked % is very high (>60%), filters may be too strict. If very low (<10%), filters may be too loose.
Advisory Annotations
When CAE Mode = Advisory, this section displays warnings for signals that would be blocked in Filtering mode:
Examples:
"Bull spacing: wait 8 bars"
"Bear: strong uptrend (TCS=0.87)"
"Adversarial bearish"
"Low confidence 32%"
Multiple warnings can stack, separated by " | ". This teaches you CAE's decision logic transparently.
How to Use BZ-CAE โ Complete Workflow
Phase 1: Initial Setup (First Session)
Apply BZ-CAE to your chart
Select your preferred Visual Theme (Cyberpunk recommended for visibility)
Set Signal Timing to "Confirmed (lookforward)" for learning
Choose your Oscillator Type (RSI recommended for general use, length 14)
Set Overbought/Oversold to 70/30 (standard)
Enable both Regular Divergence and Hidden Divergence
Set Pivot Lookback/Lookforward to 5/5 (balanced structure)
Enable CAE Intelligence
Set CAE Mode to "Advisory" (learning mode)
Enable all three CAE filters: Strong Trend Filter , Adversarial Validation , Confidence Gating
Enable Show Dashboard , position Top Right, size Normal
Enable Draw Bifurcation Zones and Adversarial Bar Coloring
Phase 2: Learning Period (Weeks 1-2)
Goal : Understand how CAE evaluates market state and filters signals.
Activities :
Watch the dashboard during signals :
Note TCS values when counter-trend signals fail โ this teaches you the trend strength threshold for your instrument
Observe exhaustion patterns at actual turning points โ learn when overextension truly matters
Study adversarial differential at signal times โ see when opposing cases dominate
Review blocked signals (orange X-crosses):
In Advisory mode, you see everything โ signals that would pass AND signals that would be blocked
Check the advisory annotations to understand why CAE would block
Track outcomes: Were the blocks correct? Did those signals fail?
Use Last Signal Metrics :
After each signal, check the dashboard capture of confidence, TCS, and DMA
Journal these values alongside trade outcomes
Identify patterns: Do confidence >0.70 signals work better? Does your instrument respect TCS >0.85?
Understand your instrument's "personality" :
Trending instruments (indices, major forex) may need TCS threshold 0.85-0.90
Choppy instruments (low-cap stocks, exotic pairs) may work best with TCS 0.70-0.75
High-volatility instruments (crypto) may need wider spacing
Low-volatility instruments may need tighter spacing
Phase 3: Calibration (Weeks 3-4)
Goal : Optimize settings for your specific instrument, timeframe, and style.
Calibration Checklist :
Min Confidence Threshold :
Review confidence distribution in your signal journal
Identify the confidence level below which signals consistently fail
Set min_confidence slightly above that level
Day trading : 0.35-0.45
Swing trading : 0.40-0.55
Scalping : 0.30-0.40
TCS Threshold :
Find the TCS level where counter-trend signals consistently get stopped out
Set tcs_threshold at or slightly below that level
Trending instruments : 0.85-0.90
Mixed instruments : 0.80-0.85
Choppy instruments : 0.75-0.80
Exhaustion Override Level :
Identify exhaustion readings that marked genuine reversals
Set exhaustion_required just below the average
Typical range : 0.45-0.55
Adversarial Threshold :
Default 0.10 works for most instruments
If you find CAE is too conservative (blocking good trades), raise to 0.15-0.20
If signals are still getting caught in opposing momentum, lower to 0.07-0.09
Spacing Parameters :
Count bars between quality signals in your journal
Set min bars ANY to ~60% of that average
Set min bars SAME-SIDE to ~120% of that average
Scalping : Any 6-10, Same 12-20
Day trading : Any 12, Same 24
Swing : Any 20-30, Same 40-60
Oscillator Selection :
Try different oscillators for 1-2 weeks each
Track win rate and average winner/loser by oscillator type
RSI : Best for general use, clear OB/OS
Stochastic : Best for range-bound, mean reversion
MFI : Best for volume-driven markets
CCI : Best for cyclical instruments
Williams %R : Best for reversal detection
Phase 4: Live Deployment
Goal : Disciplined execution with proven, calibrated system.
Settings Changes :
Switch CAE Mode from Advisory to Filtering
System now actively blocks low-quality signals
Only setups passing all gates reach your chart
Keep Signal Timing on Confirmed for conservative entries
OR switch to Realtime if you're actively monitoring and want faster entries (accept pre-confirmation repaint risk)
Use your calibrated thresholds from Phase 3
Enable high-confidence alerts: "โญ High Confidence Bullish/Bearish" (>0.70)
Trading Discipline Rules :
Respect Blocked Signals :
If CAE blocks a trade you wanted to take, TRUST THE SYSTEM
Don't manually override โ if you consistently disagree, return to Phase 2/3 calibration
The block exists because market state failed intelligence checks
Confidence-Based Position Sizing :
Confidence >0.70: Standard or increased size (e.g., 1.5-2.0% risk)
Confidence 0.50-0.70: Standard size (e.g., 1.0% risk)
Confidence 0.35-0.50: Reduced size (e.g., 0.5% risk) or skip if conservative
TCS-Based Management :
High TCS + counter-trend signal: Use tight stops, quick exits (you're fading momentum)
Low TCS + reversal signal: Use wider stops, trail aggressively (genuine reversal potential)
Exhaustion Awareness :
Exhaustion >0.75 (yellow shading): Market is overextended, reversal risk is elevated โ consider early exit or tighter trailing stops even on winning trades
Exhaustion <0.30: Continuation bias โ hold for larger move, wide trailing stops
Adversarial Context :
Strong differential against you (e.g., bullish signal with bear diff <-0.2): Use very tight stops, consider skipping
Strong differential with you (e.g., bullish signal with bull diff >0.2): Trail aggressively, this is your tailwind
Practical Settings by Timeframe & Style
Scalping (1-5 Minute Charts)
Objective : High frequency, tight stops, quick reversals in fast-moving markets.
Oscillator :
Type: RSI or Stochastic (fast response to quick moves)
Length: 9-11 (more responsive than standard 14)
Smoothing: 1 (no lag)
OB/OS: 65/35 (looser thresholds ensure frequent crossings in fast conditions)
Divergence :
Pivot Lookback/Lookforward: 3/3 (tight structure, catch small swings)
Max Lookback: 40-50 bars (recent structure only)
Min Slope Change: 0.8-1.0 (don't be overly strict)
CAE :
Mode: Advisory first (learn), then Filtering
Min Confidence: 0.30-0.35 (lower bar for speed, accept more signals)
TCS Threshold: 0.70-0.75 (allow more counter-trend opportunities)
Exhaustion Required: 0.45-0.50 (moderate override)
Strong Trend Filter: ON (still respect major intraday trends)
Adversarial: ON (critical for scalping protection โ catches bad entries quickly)
Spacing :
Min Bars ANY: 6-10 (fast pace, many setups)
Min Bars SAME-SIDE: 12-20 (prevent clustering)
Min ATR Distance: 0 or 0.5 (loose)
Timing : Realtime (speed over precision, but understand repaint risk)
Visuals :
Signal Size: Tiny (chart clarity in busy conditions)
Show Zones: Optional (can clutter on low timeframes)
Bar Coloring: ON (helps read momentum shifts quickly)
Dashboard: Small size (corner reference, not main focus)
Key Consideration : Scalping generates noise. Even with CAE, expect lower win rate (45-55%) but aim for favorable R:R (2:1 or better). Size conservatively.
Day Trading (15-Minute to 1-Hour Charts)
Objective : Balance quality and frequency. Standard divergence trading approach.
Oscillator :
Type: RSI or MFI (proven reliability, volume confirmation with MFI)
Length: 14 (industry standard, well-studied)
Smoothing: 1-2
OB/OS: 70/30 (classic levels)
Divergence :
Pivot Lookback/Lookforward: 5/5 (balanced structure)
Max Lookback: 60 bars
Min Slope Change: 1.0 (standard strictness)
CAE :
Mode: Filtering (enforce discipline from the start after brief Advisory learning)
Min Confidence: 0.35-0.45 (quality filter without being too restrictive)
TCS Threshold: 0.80-0.85 (respect strong trends)
Exhaustion Required: 0.50 (balanced override threshold)
Strong Trend Filter: ON
Adversarial: ON
Confidence Gating: ON (all three filters active)
Spacing :
Min Bars ANY: 12 (breathing room between all setups)
Min Bars SAME-SIDE: 24 (prevent bull/bear clusters)
Min ATR Distance: 0-1.0 (optional refinement, typically 0.5-1.0)
Timing : Confirmed (1-bar delay for reliability, no repainting)
Visuals :
Signal Size: Tiny or Small
Show Zones: ON (useful reference for exits/re-entries)
Bar Coloring: ON (context awareness)
Dashboard: Normal size (full visibility)
Key Consideration : This is the "sweet spot" timeframe for BZ-CAE. Market structure is clear, CAE has sufficient data, and signal frequency is manageable. Expect 55-65% win rate with proper execution.
Swing Trading (4-Hour to Daily Charts)
Objective : Quality over quantity. High conviction only. Larger stops and targets.
Oscillator :
Type: RSI or CCI (robust on higher timeframes, smooth longer waves)
Length: 14-21 (capture larger momentum swings)
Smoothing: 1-3
OB/OS: 70/30 or 75/25 (strict extremes)
Divergence :
Pivot Lookback/Lookforward: 5/5 or 7/7 (structural purity, major swings only)
Max Lookback: 80-100 bars (broader historical context)
Min Slope Change: 1.2-1.5 (require strong, undeniable divergence)
CAE :
Mode: Filtering (strict enforcement, premium setups only)
Min Confidence: 0.40-0.55 (high bar for entry)
TCS Threshold: 0.85-0.95 (very strong trend protection โ don't fade established HTF trends)
Exhaustion Required: 0.50-0.60 (higher bar for override โ only extreme exhaustion justifies counter-trend)
Strong Trend Filter: ON (critical on HTF)
Adversarial: ON (avoid obvious bad trades)
Confidence Gating: ON (quality gate essential)
Spacing :
Min Bars ANY: 20-30 (substantial separation)
Min Bars SAME-SIDE: 40-60 (significant breathing room)
Min ATR Distance: 1.0-2.0 (require meaningful price movement)
Timing : Confirmed (purity over speed, zero repaint for swing accuracy)
Visuals :
Signal Size: Small or Normal (clear markers on zoomed-out view)
Show Zones: ON (important HTF levels)
Bar Coloring: ON (long-term trend awareness)
Dashboard: Normal or Large (comprehensive analysis)
Key Consideration : Swing signals are rare but powerful. Expect 2-5 signals per month per instrument. Win rate should be 60-70%+ due to stringent filtering. Position size can be larger given confidence.
Dashboard Interpretation Reference
TCS (Trend Conviction Score) States
0.00-0.50: Weak/Choppy
Emoji: ใฐ๏ธ
Color: Green/cyan
Meaning: No established trend. Range-bound or consolidating. Both reversal and continuation signals viable.
Action: Reversals (regular divs) are safer. Use wider profit targets (market has room to move). Consider mean reversion strategies.
0.50-0.75: Moderate Trend
Emoji: ๐
Color: Yellow/neutral
Meaning: Developing trend but not locked in. Context matters significantly.
Action: Check DMA and exhaustion. If DMA confirms trend and exhaustion is low, favor continuation (hidden divs). If exhaustion is high, reversals are viable.
0.75-0.85: Strong Trend
Emoji: ๐ฅ
Color: Orange/warning
Meaning: Well-established trend with persistence. Counter-trend is high risk.
Action: Require exhaustion >0.50 for counter-trend entries. Favor continuation signals. Use tight stops on counter-trend attempts.
0.85-1.00: Very Strong Trend
Emoji: ๐ฅ๐ฅ
Color: Red/danger (if counter-trading)
Meaning: Locked-in institutional trend. Extremely high risk to fade.
Action: Avoid counter-trend unless exhaustion >0.75 (yellow shading). Focus exclusively on continuation opportunities. Momentum is king here.
DMA (Directional Momentum Alignment) Zones
-2.0 to -1.0: Strong Bearish Momentum
Emoji: ๐ป๐ป
Color: Dark red
Meaning: Powerful downside force. Sellers are in control.
Action: Bullish divergences are counter-momentum (high risk). Bearish divergences are with-momentum (lower risk). Size down on longs.
-0.5 to 0.5: Neutral/Balanced
Emoji: โ๏ธ
Color: Gray/neutral
Meaning: No strong directional bias. Choppy or consolidating.
Action: Both directions have similar probability. Focus on confidence score and adversarial differential for edge.
1.0 to 2.0: Strong Bullish Momentum
Emoji: ๐๐
Color: Bright green/cyan
Meaning: Powerful upside force. Buyers are in control.
Action: Bearish divergences are counter-momentum (high risk). Bullish divergences are with-momentum (lower risk). Size down on shorts.
Exhaustion States
0.00-0.50: Fresh Move
Emoji: โ
Color: Green
Meaning: Trend is healthy, not overextended. Room to run.
Action: Counter-trend trades are premature. Favor continuation. Hold winners for larger moves. Avoid early exits.
0.50-0.75: Mature Move
Emoji: ๐ก
Color: Yellow
Meaning: Move is aging. Watch for signs of climax.
Action: Tighten trailing stops on winning trades. Be ready for reversals. Don't add to positions aggressively.
0.75-0.85: High Exhaustion
Emoji: โ ๏ธ
Color: Orange
Background: Yellow shading appears
Meaning: Move is overextended. Reversal risk elevated significantly.
Action: Counter-trend reversals are higher probability. Consider early exits on with-trend positions. Size up on reversal divergences (if CAE allows).
0.85-1.00: Critical Exhaustion
Emoji: โ ๏ธโ ๏ธ
Color: Red
Background: Yellow shading intensifies
Meaning: Climax conditions. Reversal imminent or underway.
Action: Aggressive reversal trades justified. Exit all with-trend positions. This is where major turns occur.
Confidence Score Tiers
0.00-0.30: Low Quality
Color: Red
Status: Blocked in Filtering mode
Action: Skip entirely. Setup lacks fundamental quality across multiple factors.
0.30-0.50: Moderate Quality
Color: Yellow/orange
Status: Marginal โ passes in Filtering only if >min_confidence
Action: Reduced position size (0.5-0.75% risk). Tight stops. Conservative profit targets. Skip if you're selective.
0.50-0.70: High Quality
Color: Green/cyan
Status: Good setup across most quality factors
Action: Standard position size (1.0-1.5% risk). Normal stops and targets. This is your bread-and-butter trade.
0.70-1.00: Premium Quality
Color: Bright green/gold
Status: Exceptional setup โ all factors aligned
Visual: Double confidence ring appears
Action: Consider increased position size (1.5-2.0% risk, maximum). Wider stops. Larger targets. High probability of success. These are rare โ capitalize when they appear.
Adversarial Differential Interpretation
Bull Differential > 0.3 :
Visual: Strong cyan/green bar colors
Meaning: Bull case strongly dominates. Buyers have clear advantage.
Action: Bullish divergences favored (with-advantage). Bearish divergences face headwind (reduce size or skip). Momentum is bullish.
Bull Differential 0.1 to 0.3 :
Visual: Moderate cyan/green transparency
Meaning: Moderate bull advantage. Buyers have edge but not overwhelming.
Action: Both directions viable. Slight bias toward longs.
Differential -0.1 to 0.1 :
Visual: Gray/neutral bars
Meaning: Balanced debate. No clear advantage either side.
Action: Rely on other factors (confidence, TCS, exhaustion) for direction. Adversarial is neutral.
Bear Differential -0.3 to -0.1 :
Visual: Moderate red/magenta transparency
Meaning: Moderate bear advantage. Sellers have edge but not overwhelming.
Action: Both directions viable. Slight bias toward shorts.
Bear Differential < -0.3 :
Visual: Strong red/magenta bar colors
Meaning: Bear case strongly dominates. Sellers have clear advantage.
Action: Bearish divergences favored (with-advantage). Bullish divergences face headwind (reduce size or skip). Momentum is bearish.
Last Signal Metrics โ Post-Trade Analysis
After a signal fires, dashboard captures:
Type : BULL or BEAR
Bars Ago : How long since signal (updates every bar)
Confidence : What was the quality score at signal time
TCS : What was trend conviction at signal time
DMA : What was momentum alignment at signal time
Use Case : Post-trade journaling and learning.
Example: "BULL signal 12 bars ago. Confidence: 68%, TCS: 0.42, DMA: -0.85"
Analysis : This was a bullish reversal (regular div) with good confidence, weak trend (TCS), but strong bearish momentum (DMA). The bet was that momentum would reverse โ a counter-momentum play requiring exhaustion confirmation. Check if exhaustion was high at that time to justify the entry.
Track patterns:
Do your best trades have confidence >0.65?
Do low-TCS signals (<0.50) work better for you?
Are you more successful with-momentum (DMA aligned with signal) or counter-momentum?
Troubleshooting Guide
Problem: No Signals Appearing
Symptoms : Chart loads, dashboard shows metrics, but no divergence signals fire.
Diagnosis Checklist :
Check dashboard oscillator value : Is it crossing OB/OS levels (70/30)? If oscillator stays in 40-60 range constantly, it can't reach extremes needed for divergence detection.
Are pivots forming? : Look for local swing highs/lows on your chart. If price is in tight consolidation, pivots may not meet lookback/lookforward requirements.
Is spacing too tight? : Check "Last Signal" metrics โ how many bars since last signal? If <12 and your min_bars_ANY is 12, spacing filter is blocking.
Is CAE blocking everything? : Check dashboard Statistics section โ what's the blocked signal count? High blocks indicate overly strict filters.
Solutions :
Loosen OB/OS Temporarily :
Try 65/35 to verify divergence detection works
If signals appear, the issue was threshold strictness
Gradually tighten back to 67/33, then 70/30 as appropriate
Lower Min Confidence :
Try 0.25-0.30 (diagnostic level)
If signals appear, filter was too strict
Raise gradually to find sweet spot (0.35-0.45 typical)
Disable Strong Trend Filter Temporarily :
Turn off in CAE settings
If signals appear, TCS threshold was blocking everything
Re-enable and lower TCS_threshold to 0.70-0.75
Reduce Min Slope Change :
Try 0.7-0.8 (from default 1.0)
Allows weaker divergences through
Helpful on low-volatility instruments
Widen Spacing :
Set min_bars_ANY to 6-8
Set min_bars_SAME_SIDE to 12-16
Reduces time between allowed signals
Check Timing Mode :
If using Confirmed, remember there's a pivot_lookforward delay (5+ bars)
Switch to Realtime temporarily to verify system is working
Realtime has no delay but repaints
Verify Oscillator Settings :
Length 14 is standard but might not fit all instruments
Try length 9-11 for faster response
Try length 18-21 for slower, smoother response
Problem: Too Many Signals (Signal Spam)
Symptoms : Dashboard shows 50+ signals in Statistics, confidence scores mostly <0.40, signals clustering close together.
Solutions :
Raise Min Confidence :
Try 0.40-0.50 (quality filter)
Blocks bottom-tier setups
Targets top 50-60% of divergences only
Tighten OB/OS :
Use 70/30 or 75/25
Requires more extreme oscillator readings
Reduces false divergences in mid-range
Increase Min Slope Change :
Try 1.2-1.5 (from default 1.0)
Requires stronger, more obvious divergences
Filters marginal slope disagreements
Raise TCS Threshold :
Try 0.85-0.90 (from default 0.80)
Stricter trend filter blocks more counter-trend attempts
Favors only strongest trend alignment
Enable ALL CAE Gates :
Turn on Trend Filter + Adversarial + Confidence
Triple-layer protection
Blocks aggressively โ expect 20-40% reduction in signals
Widen Spacing :
min_bars_ANY: 15-20 (from 12)
min_bars_SAME_SIDE: 30-40 (from 24)
Creates substantial breathing room
Switch to Confirmed Timing :
Removes realtime preview noise
Ensures full pivot validation
5-bar delay filters many false starts
Problem: Signals in Strong Trends Get Stopped Out
Symptoms : You take a bullish divergence in a downtrend (or bearish in uptrend), and it immediately fails. Dashboard showed high TCS at the time.
Analysis : This is INTENDED behavior โ CAE is protecting you from low-probability counter-trend trades.
Understanding :
Check Last Signal Metrics in dashboard โ what was TCS when signal fired?
If TCS was >0.85 and signal was counter-trend, CAE correctly identified it as high risk
Strong trends rarely reverse cleanly without major exhaustion
Your losses here are the system working as designed (blocking bad odds)
If You Want to Override (Not Recommended) :
Lower TCS_threshold to 0.70-0.75 (allows more counter-trend)
Lower exhaustion_required to 0.40 (easier override)
Disable Strong Trend Filter entirely (very risky)
Better Approach :
TRUST THE FILTER โ it's preventing costly mistakes
Wait for exhaustion >0.75 (yellow shading) before counter-trending strong TCS
Focus on continuation signals (hidden divs) in high-TCS environments
Use Advisory mode to see what CAE is blocking and learn from outcomes
Problem: Adversarial Blocking Seems Wrong
Symptoms : You see a divergence that "looks good" visually, but CAE blocks with "Adversarial bearish/bullish" warning.
Diagnosis :
Check dashboard Bull Case and Bear Case scores at that moment
Look at Differential value
Check adversarial bar colors โ was there strong coloring against your intended direction?
Understanding :
Adversarial catches "obvious" opposing momentum that's easy to miss
Example: Bullish divergence at a local low, BUT price is deeply below EMA50, bearish momentum is strong, and RSI shows knife-catching conditions
Bull Case might be 0.20 while Bear Case is 0.55
Differential = -0.35, far beyond threshold
Block is CORRECT โ you'd be fighting overwhelming opposing flow
If You Disagree Consistently
Review blocked signals on chart โ scroll back and check outcomes
Did those blocked signals actually work, or did they fail as adversarial predicted?
Raise adv_threshold to 0.15-0.20 (more permissive, allows closer battles)
Disable Adversarial Validation temporarily (diagnostic) to isolate its effect
Use Advisory mode to learn adversarial patterns over 50-100 signals
Remember : Adversarial is conservative BY DESIGN. It prevents "obvious" bad trades where you're fighting strong strength the other way.
Problem: Dashboard Not Showing or Incomplete
Solutions :
Toggle "Show Dashboard" to ON in settings
Try different dashboard sizes (Small/Normal/Large)
Try different positions (Top Left/Right, Bottom Left/Right) โ might be off-screen
Some sections require CAE Enable = ON (Cognitive Engine section won't appear if CAE is disabled)
Statistics section requires at least 1 lifetime signal to populate
Check that visual theme is set (dashboard colors adapt to theme)
Problem: Performance Lag, Chart Freezing
Symptoms : Chart loading is slow, indicator calculations cause delays, pinch-to-zoom lags.
Diagnosis : Visual features are computationally expensive, especially adversarial bar coloring (recalculates every bar).
Solutions (In Order of Impact) :
Disable Adversarial Bar Coloring (MOST EXPENSIVE):
Turn OFF "Adversarial Bar Coloring" in settings
This is the single biggest performance drain
Immediate improvement
Reduce Vertical Lines :
Lower "Keep last N vertical lines" to 20-30
Or set to 0 to disable entirely
Moderate improvement
Disable Bifurcation Zones :
Turn OFF "Draw Bifurcation Zones"
Reduces box drawing calculations
Moderate improvement
Set Dashboard Size to Small :
Smaller dashboard = fewer cells = less rendering
Minor improvement
Use Shorter Max Lookback :
Reduce max_lookback to 40-50 (from 60+)
Fewer bars to scan for divergences
Minor improvement
Disable Exhaustion Shading :
Turn OFF "Show Market State"
Removes background coloring calculations
Minor improvement
Extreme Performance Mode :
Disable ALL visual enhancements
Keep only triangle markers
Dashboard Small or OFF
Use Minimal theme if available
Problem: Realtime Signals Repainting
Symptoms : You see a signal appear, but on next bar it disappears or moves.
Explanation :
Realtime mode detects peaks 1 bar ago: high > high AND high > high
On the FORMING bar (before close), this condition can change as new prices arrive
Example: At 10:05, high (10:04 bar) was 100, current high is 99 โ peak detected
At 10:05:30, new high of 101 arrives โ peak condition breaks โ signal disappears
At 10:06 (bar close), final high is 101 โ no peak at 10:04 anymore โ signal gone permanently
This is expected behavior for realtime responsiveness. You get preview/early warning, but it's not locked until bar confirms.
Solutions :
Use Confirmed Timing :
Switch to "Confirmed (lookforward)" mode
ZERO repainting โ pivot must be fully validated
5-bar delay (pivot_lookforward)
What you see in history is exactly what would have appeared live
Accept Realtime Repaint as Tradeoff :
Keep Realtime mode for speed and alerts
Understand that pre-confirmation signals may vanish
Only trade signals that CONFIRM at bar close (check barstate.isconfirmed)
Use for live monitoring, NOT for backtesting
Trade Only After Confirmation :
In Realtime mode, wait 1 full bar after signal appears before entering
If signal survives that bar close, it's locked
This adds 1-bar delay but removes repaint risk
Recommendation : Use Confirmed for backtesting and conservative trading. Use Realtime only for active monitoring with full understanding of preview behavior.
Risk Management Integration
BZ-CAE is a signal generation system, not a complete trading strategy. You must integrate proper risk management:
Position Sizing by Confidence
Confidence 0.70-1.00 (Premium) :
Risk: 1.5-2.0% of account (MAXIMUM)
Reasoning: High-quality setup across all factors
Still cap at 2% โ even premium setups can fail
Confidence 0.50-0.70 (High Quality) :
Risk: 1.0-1.5% of account
Reasoning: Standard good setup
Your bread-and-butter risk level
Confidence 0.35-0.50 (Moderate Quality) :
Risk: 0.5-1.0% of account
Reasoning: Marginal setup, passes minimum threshold
Reduce size or skip if you're selective
Confidence <0.35 (Low Quality) :
Risk: 0% (blocked in Filtering mode)
Reasoning: Insufficient quality factors
System protects you by not showing these
Stop Placement Strategies
For Reversal Signals (Regular Divergences) :
Place stop beyond the divergence pivot plus buffer
Bullish : Stop below the divergence low - 1.0-1.5 ร ATR
Bearish : Stop above the divergence high + 1.0-1.5 ร ATR
Reasoning: If price breaks the pivot, divergence structure is invalidated
For Continuation Signals (Hidden Divergences) :
Place stop beyond recent swing in opposite direction
Bullish continuation : Stop below recent swing low (not the divergence pivot itself)
Bearish continuation : Stop above recent swing high
Reasoning: You're trading with trend, allow more breathing room
ATR-Based Stops :
1.5-2.0 ร ATR is standard
Scale by timeframe:
Scalping (1-5m): 1.0-1.5 ร ATR (tight)
Day trading (15m-1H): 1.5-2.0 ร ATR (balanced)
Swing (4H-D): 2.0-3.0 ร ATR (wide)
Never Use Fixed Dollar/Pip Stops :
Markets have different volatility
50-pip stop on EUR/USD โ 50-pip stop on GBP/JPY
Always normalize by ATR or pivot structure
Profit Targets and Scaling
Primary Target :
2-3 ร ATR from entry (minimum 2:1 reward-risk)
Example : Entry at 100, ATR = 2, stop at 97 (1.5 ร ATR) โ target at 106 (3 ร ATR) = 2:1 R:R
Scaling Out Strategy :
Take 50% off at 1.5 ร ATR (secure partial profit)
Move stop to breakeven
Trail remaining 50% with 1.0 ร ATR trailing stop
Let winners run if trend persists
Targets by Confidence :
High Confidence (>0.70) : Aggressive targets (3-4 ร ATR), trail wider (1.5 ร ATR)
Standard Confidence (0.50-0.70) : Normal targets (2-3 ร ATR), standard trail (1.0 ร ATR)
Low Confidence (0.35-0.50) : Conservative targets (1.5-2 ร ATR), tight trail (0.75 ร ATR)
Use Bifurcation Zones :
If opposite-side zone is visible on chart (from previous signal), use it as target
Example : Bullish signal at 100, prior supply zone at 110 โ use 110 as target
Zones mark institutional resistance/support
Exhaustion-Based Exits :
If you're in a trade and exhaustion >0.75 develops (yellow shading), consider early exit
Market is overextended โ reversal risk is high
Take profit even if target not reached
Trade Management by TCS
High TCS + Counter-Trend Trade (Risky) :
Use very tight stops (1.0-1.5 ร ATR)
Conservative targets (1.5-2 ร ATR)
Quick exit if trade doesn't work immediately
You're fading momentum โ respect it
Low TCS + Reversal Trade (Safer) :
Use wider stops (2.0-2.5 ร ATR)
Aggressive targets (3-4 ร ATR)
Trail with patience
Genuine reversal potential in weak trend
High TCS + Continuation Trade (Safest) :
Standard stops (1.5-2.0 ร ATR)
Very aggressive targets (4-5 ร ATR)
Trail wide (1.5-2.0 ร ATR)
You're with institutional momentum โ let it run
Educational Value โ Learning Machine Intelligence
BZ-CAE is designed as a learning platform, not just a tool:
Advisory Mode as Teacher
Most indicators are binary: signal or no signal. You don't learn WHY certain setups are better.
BZ-CAE's Advisory mode shows you EVERY potential divergence, then annotates the ones that would be blocked in Filtering mode with specific reasons:
"Bull: strong downtrend (TCS=0.87)" teaches you that TCS >0.85 makes counter-trend very risky
"Adversarial bearish" teaches you that the opposing case was dominating
"Low confidence 32%" teaches you that the setup lacked quality across multiple factors
"Bull spacing: wait 8 bars" teaches you that signals need breathing room
After 50-100 signals in Advisory mode, you internalize the CAE's decision logic. You start seeing these factors yourself BEFORE the indicator does.
Dashboard Transparency
Most "intelligent" indicators are black boxes โ you don't know how they make decisions.
BZ-CAE shows you ALL metrics in real-time:
TCS tells you trend strength
DMA tells you momentum alignment
Exhaustion tells you overextension
Adversarial shows both sides of the debate
Confidence shows composite quality
You learn to interpret market state holistically, a skill applicable to ANY trading system beyond this indicator.
Divergence Quality Education
Not all divergences are equal. BZ-CAE teaches you which conditions produce high-probability setups:
Quality divergence : Regular bullish div at a low, TCS <0.50 (weak trend), exhaustion >0.75 (overextended), positive adversarial differential, confidence >0.70
Low-quality divergence : Regular bearish div at a high, TCS >0.85 (strong uptrend), exhaustion <0.30 (not overextended), negative adversarial differential, confidence <0.40
After using the system, you can evaluate divergences manually with similar intelligence.
Risk Management Discipline
Confidence-based position sizing teaches you to adjust risk based on setup quality, not emotions:
Beginners often size all trades identically
Or worse, size UP on marginal setups to "make up" for losses
BZ-CAE forces systematic sizing: premium setups get larger size, marginal setups get smaller size
This creates a probabilistic approach where your edge compounds over time.
What This Indicator Is NOT
Complete transparency about limitations and positioning:
Not a Prediction System
BZ-CAE does not predict future prices. It identifies structural divergences (price-momentum disagreements) and assesses current market state (trend, exhaustion, adversarial conditions). It tells you WHEN conditions favor a potential reversal or continuation, not WHAT WILL HAPPEN.
Markets are probabilistic. Even premium-confidence setups fail ~30-40% of the time. The system improves your probability distribution over many trades โ it doesn't eliminate risk.
Not Fully Automated
This is a decision support tool, not a trading robot. You must:
Execute trades manually based on signals
Manage positions (stops, targets, trailing)
Apply discretionary judgment (news events, liquidity, context)
Integrate with your broader strategy and risk rules
The confidence scores guide position sizing, but YOU determine final risk allocation based on your account size, risk tolerance, and portfolio context.
Not Beginner-Friendly
BZ-CAE requires understanding of:
Divergence trading concepts (regular vs hidden, reversal vs continuation)
Market state interpretation (trend vs range, momentum, exhaustion)
Basic technical analysis (pivots, support/resistance, EMAs)
Risk management fundamentals (position sizing, stops, R:R)
This is designed for intermediate to advanced traders willing to invest time learning the system. If you want "buy the arrow" simplicity, this isn't the tool.
Not a Holy Grail
There is no perfect indicator. BZ-CAE filters noise and improves signal quality significantly, but:
Losing trades are inevitable (even at 70% win rate, 30% still fail)
Market conditions change rapidly (yesterday's strong trend becomes today's chop)
Black swan events occur (fundamentals override technicals)
Execution matters (slippage, fees, emotional discipline)
The system provides an EDGE, not a guarantee. Your job is to execute that edge consistently with proper risk management over hundreds of trades.
Not Financial Advice
BZ-CAE is an educational and analytical tool. All trading decisions are your responsibility. Past performance (backtested or live) does not guarantee future results. Only risk capital you can afford to lose. Consult a licensed financial advisor for investment advice specific to your situation.
Ideal Market Conditions
Best Performance Characteristics
Liquid Instruments :
Major forex pairs (EUR/USD, GBP/USD, USD/JPY)
Large-cap stocks and index ETFs (SPY, QQQ, AAPL, MSFT)
High-volume crypto (BTC, ETH)
Major commodities (Gold, Oil, Natural Gas)
Reasoning: Clean price structure, clear pivots, meaningful oscillator behavior
Trending with Consolidations :
Markets that trend for 20-40 bars, then consolidate 10-20 bars, repeat
Creates divergences at consolidation boundaries (reversals) and within trends (continuations)
Both regular and hidden divs find opportunities
5-Minute to Daily Timeframes :
Below 5m: too much noise, false pivots, CAE metrics unstable
Above daily: too few signals, edge diminishes (fundamentals dominate)
Sweet spot: 15m to 4H for most traders
Consistent Volume and Participation :
Regular trading sessions (not holidays or thin markets)
Predictable volatility patterns
Avoid instruments with sudden gaps or circuit breakers
Challenging Conditions
Extremely Low Liquidity :
Penny stocks, exotic forex pairs, low-volume crypto
Erratic pivots, unreliable oscillator readings
CAE metrics can't assess market state properly
Very Low Timeframes (1-Minute or Below) :
Dominated by market microstructure noise
Divergences are everywhere but meaningless
CAE filtering helps but still unreliable
Extended Sideways Consolidation :
100+ bars of tight range with no clear pivots
Oscillator hugs midpoint (45-55 range)
No divergences to detect
Fundamentally-Driven Gap Markets :
Earnings releases, economic data, geopolitical events
Price gaps over stops and targets
Technical structure breaks down
Recommendation: Disable trading around known events
Calculation Methodology โ Technical Depth
For users who want to understand the math:
Oscillator Computation
Each oscillator type calculates differently, but all normalize to 0-100:
RSI : ta.rsi(close, length) โ Standard Relative Strength Index
Stochastic : ta.stoch(high, low, close, length) โ %K calculation
CCI : (ta.cci(hlc3, length) + 100) / 2 โ Normalized from -100/+100 to 0-100
MFI : ta.mfi(hlc3, length) โ Volume-weighted RSI equivalent
Williams %R : ta.wpr(length) + 100 โ Inverted stochastic adjusted to 0-100
Smoothing: If smoothing > 1, apply ta.sma(oscillator, smoothing)
Divergence Detection Algorithm
Identify Pivots :
Price high pivot: ta.pivothigh(high, lookback, lookforward)
Price low pivot: ta.pivotlow(low, lookback, lookforward)
Oscillator high pivot: ta.pivothigh(osc, lookback, lookforward)
Oscillator low pivot: ta.pivotlow(osc, lookback, lookforward)
Store Recent Pivots :
Maintain arrays of last 10 pivots with bar indices
When new pivot confirmed, unshift to array, pop oldest if >10
Scan for Slope Disagreements :
Loop through last 5 pivots
For each pair (current pivot, historical pivot):
Check if within max_lookback bars
Calculate slopes: (current - historical) / bars_between
Regular bearish: price_slope > 0, osc_slope < 0, |osc_slope| > min_threshold
Regular bullish: price_slope < 0, osc_slope > 0, |osc_slope| > min_threshold
Hidden bearish: price_slope < 0, osc_slope > 0, osc_slope > min_threshold
Hidden bullish: price_slope > 0, osc_slope < 0, |osc_slope| > min_threshold
Important Disclaimers and Terms
Performance Disclosure
Past performance, whether backtested or live-traded, does not guarantee future results. Markets change. What works today may not work tomorrow. Hypothetical or simulated performance results have inherent limitations and do not represent actual trading.
Risk of Loss
Trading involves substantial risk of loss. Only trade with risk capital you can afford to lose entirely. The high degree of leverage often available in trading can work against you as well as for you. Leveraged trading may result in losses exceeding your initial deposit.
Not Financial Advice
BZ-CAE is an educational and analytical tool for technical analysis. It is not financial advice, investment advice, or a recommendation to buy or sell any security or instrument. All trading decisions are your sole responsibility. Consult a licensed financial advisor for advice specific to your circumstances.
Technical Indicator Limitations
BZ-CAE is a technical analysis tool based on price and volume data. It does not account for:
Fundamental analysis (earnings, economic data, financial health)
Market sentiment and positioning
Geopolitical events and news
Liquidity conditions and market microstructure changes
Regulatory changes or exchange rules
Integrate with broader analysis and strategy. Do not rely solely on technical indicators for trading decisions.
Repainting Acknowledgment
As disclosed throughout this documentation:
Realtime mode may repaint on forming bars before confirmation (by design for preview functionality)
Confirmed mode has zero repainting (fully validated pivots only)
Choose timing mode appropriate for your use case. Understand the tradeoffs.
Testing Recommendation
ALWAYS test on demo/paper accounts before committing real capital. Validate the indicator's behavior on your specific instruments and timeframes. Learn the system thoroughly in Advisory mode before using Filtering mode.
Learning Resources :
In-indicator tooltips (hover over setting names for detailed explanations)
This comprehensive publishing statement (save for reference)
User guide in script comments (top of code)
Final Word โ Philosophy of BZ-CAE
BZ-CAE is not designed to replace your judgment โ it's designed to enhance it.
The indicator identifies structural inflection points (bifurcations) where price and momentum disagree. The Cognitive Engine evaluates market state to determine if this disagreement is meaningful or noise. The Adversarial model debates both sides of the trade to catch obvious bad setups. The Confidence system ranks quality so you can choose your risk appetite.
But YOU still execute. YOU still manage risk. YOU still learn from outcomes.
This is intelligence amplification, not intelligence replacement.
Use Advisory mode to learn how expert traders evaluate market state. Use Filtering mode to enforce discipline when emotions run high. Use the dashboard to develop a systematic approach to reading markets. Use confidence scores to size positions probabilistically.
The system provides an edge. Your job is to execute that edge with discipline, patience, and proper risk management over hundreds of trades.
Markets are probabilistic. No system wins every trade. But a systematic edge + disciplined execution + proper risk management compounds over time. That's the path to consistent profitability. BZ-CAE gives you the edge. The discipline and risk management are on you.
Taking you to school. โ Dskyz, Trade with insight. Trade with anticipation.
Market Electromagnetic Field [The_lurker]Market Electromagnetic Field
An innovative analytical indicator that presents a completely new model for understanding market dynamics, inspired by the laws of electromagnetic physics โ but it's not a rhetorical metaphor, rather a complete mathematical system.
Unlike traditional indicators that focus on price or momentum, this indicator portrays the market as a closed physical system, where:
โก Candles = Electric charges (positive at bullish close, negative at bearish)
โก Buyers and Sellers = Two opposing poles where pressure accumulates
โก Market tension = Voltage difference between the poles
โก Price breakout = Electrical discharge after sufficient energy accumulation
โ Core Concept
Markets don't move randomly, but follow a clear physical cycle:
Accumulation โ Tension โ Discharge โ Stabilization โ New Accumulation
When charges accumulate (through strong candles with high volume) and exceed a certain "electrical capacitance" threshold, the indicator issues a "โก DISCHARGE IMMINENT" alert โ meaning a price explosion is imminent, giving the trader an opportunity to enter before the move begins.
โ Competitive Advantage
- Predictive forecasting (not confirmatory after the event)
- Smart multi-layer filtering reduces false signals
- Animated 3D visual representation makes reading price conditions instant and intuitive โ without need for number analysis
โ Theoretical Physical Foundation
The indicator doesn't use physical terms for decoration, but applies mathematical laws with precise market adjustments:
โก Coulomb's Law
Physics: F = k ร (qโ ร qโ) / rยฒ
Market: Field Intensity = 4 ร norm_positive ร norm_negative
Peaks at equilibrium (0.5 ร 0.5 ร 4 = 1.0), and decreases at dominance โ because conflict increases at parity.
โก Ohm's Law
Physics: V = I ร R
Market: Voltage = norm_positive โ norm_negative
Measures balance of power:
- +1 = Absolute buying dominance
- โ1 = Absolute selling dominance
- 0 = Balance
โก Capacitance
Physics: C = Q / V
Market: Capacitance = |Voltage| ร Field Intensity
Represents stored energy ready for discharge โ increases with bias combined with high interaction.
โก Electrical Discharge
Physics: Occurs when exceeding insulation threshold
Market: Discharge Probability = min(Capacitance / Discharge Threshold, 1.0)
When โฅ 0.9: "โก DISCHARGE IMMINENT"
๐ Key Note:
Maximum capacitance doesn't occur at absolute dominance (where field intensity = 0), nor at perfect balance (where voltage = 0), but at moderate bias (ยฑ30โ50%) with high interaction (field intensity > 25%) โ i.e., in moments of "pressure before breakout".
โ Detailed Calculation Mechanism
โก Phase 1: Candle Polarity
polarity = (close โ open) / (high โ low)
- +1.0: Complete bullish candle (Bullish Marubozu)
- โ1.0: Complete bearish candle (Bearish Marubozu)
- 0.0: Doji (no decision)
- Intermediate values: Represent the ratio of candle body to its range โ reducing the effect of long-shadow candles
โก Phase 2: Volume Weight
vol_weight = volume / SMA(volume, lookback)
A candle with 150% of average volume = 1.5x stronger charge
โก Phase 3: Adaptive Factor
adaptive_factor = ATR(lookback) / SMA(ATR, lookback ร 2)
- In volatile markets: Increases sensitivity
- In quiet markets: Reduces noise
- Always recommended to keep it enabled
โก Phase 4โ6: Charge Accumulation and Normalization
Charges are summed over lookback candles, then ratios are normalized:
norm_positive = positive_charge / total_charge
norm_negative = negative_charge / total_charge
So that: norm_positive + norm_negative = 1 โ for easier comparison
โก Phase 7: Field Calculations
voltage = norm_positive โ norm_negative
field_intensity = 4 ร norm_positive ร norm_negative ร field_sensitivity
capacitance = |voltage| ร field_intensity
discharge_prob = min(capacitance / discharge_threshold, 1.0)
โ Settings
โก Electromagnetic Model
Lookback Period
- Default: 20
- Range: 5โ100
- Recommendations:
- Scalping: 10โ15
- Day Trading: 20
- Swing: 30โ50
- Investing: 50โ100
Discharge Threshold
- Default: 0.7
- Range: 0.3โ0.95
- Recommendations:
- Speed + Noise: 0.5โ0.6
- Balance: 0.7
- High Accuracy: 0.8โ0.95
Field Sensitivity
- Default: 1.0
- Range: 0.5โ2.0
- Recommendations:
- Amplify Conflict: 1.2โ1.5
- Natural: 1.0
- Calm: 0.5โ0.8
Adaptive Mode
- Default: Enabled
- Always keep it enabled
๐ฌ Dynamic Filters
All enabled filters must pass for discharge signal to appear.
Volume Filter
- Condition: volume > SMA(volume) ร vol_multiplier
- Function: Excludes "weak" candles not supported by volume
- Recommendation: Enabled (especially for stocks and forex)
Volatility Filter
- Condition: STDEV > SMA(STDEV) ร 0.5
- Function: Ignores sideways stagnation periods
- Recommendation: Always enabled
Trend Filter
- Condition: Voltage alignment with fast/slow EMA
- Function: Reduces counter-trend signals
- Recommendation: Enabled for swing/investing only
Volume Threshold
- Default: 1.2
- Recommendations:
- 1.0โ1.2: High sensitivity
- 1.5โ2.0: Exclusive to high volume
๐จ Visual Settings
Settings improve visual reading experience โ don't affect calculations.
Scale Factor
- Default: 600
- Higher = Larger scene (200โ1200)
Horizontal Shift
- Default: 180
- Horizontal shift to the left โ to focus on last candle
Pole Size
- Default: 60
- Base sphere size (30โ120)
Field Lines
- Default: 8
- Number of field lines (4โ16) โ 8 is ideal balance
Colors
- Green/Red/Blue/Orange
- Fully customizable
โ Visual Representation: A Visual Language for Diagnosing Price Conditions
โจ Design Philosophy
The representation isn't "decoration", but a complete cognitive model โ each element carries information, and element interaction tells a complete story.
The brain perceives changes in size, color, and movement 60,000 times faster than reading numbers โ so you can "sense" the change before your eye finishes scanning.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ข Positive Pole (Green Sphere โ Left)
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
What does it represent?
Active buying pressure accumulation โ not just an uptrend, but real demand force supported by volume and volatility.
โ Dynamic Size
Size = pole_size ร (0.7 + norm_positive ร 0.6)
- 70% of base size = No significant charge
- 130% of base size = Complete dominance
- The larger the sphere: Greater buyer dominance, higher probability of bullish continuation
Size Interpretation:
- Large sphere (>55%): Strong buying pressure โ Buyers dominate
- Medium sphere (45โ55%): Relative balance with buying bias
- Small sphere (<45%): Weak buying pressure โ Sellers dominate
โ Lighting and Transparency
- 20% transparency (when Bias = +1): Pole currently active โ Bullish direction
- 50% transparency (when Bias โ +1): Pole inactive โ Not the prevailing direction
Lighting = Current activity, while Size = Historical accumulation
โ Pulsing Inner Glow
A smaller sphere pulses automatically when Bias = +1:
inner_pulse = 0.4 + 0.1 ร sin(anim_time ร 3)
Symbolizes continuity of buy order flow โ not static dominance.
โ Orbital Rings
Two rings rotating at different speeds and directions:
- Inner: 1.3ร sphere size โ Direct influence range
- Outer: 1.6ร sphere size โ Extended influence range
Represent "influence zone" of buyers:
- Continuous rotation = Stability and momentum
- Slowdown = Momentum exhaustion
โ Percentage
Displayed below sphere: norm_positive ร 100
- >55% = Clear dominance
- 45โ55% = Balance
- <45% = Weakness
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ด Negative Pole (Red Sphere โ Right)
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
What does it represent?
Active selling pressure accumulation โ whether cumulative selling (smart distribution) or panic selling (position liquidation).
โ Visual Dynamics
Same size, lighting, and inner glow mechanism โ but in red.
Key Difference:
- Rotation is reversed (counter-clockwise)
- Visually distinguishes "buy flow" from "sell flow"
- Allows reading direction at a glance โ even for colorblind users
๐ Pole Reading Summary:
๐ข Large + Bright green sphere = Active buying force
๐ด Large + Bright red sphere = Active selling force
๐ข๐ด Both large but dim = Energy accumulation (before discharge)
โช Both small = Stagnation / Low liquidity
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ต Field Lines (Curved Blue Lines)
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
What do they represent?
Energy flow paths between poles โ the arena where price battle is fought.
โ Number of Lines
4โ16 lines (Default: 8)
More lines: Greater sense of "interaction density"
โ Arc Height
arc_h = (i โ half_lines) ร 15 ร field_intensity ร 2
- High field intensity = Highly elevated lines (like waves)
- Low intensity = Nearly straight lines
โ Oscillating Transparency
transp = 30 + phase ร 40
where phase = sin(anim_time ร 2 + i ร 0.5) ร 0.5 + 0.5
Creates illusion of "flowing current" โ not static lines
โ Asymmetric Curvature
- Upper lines curve upward
- Lower lines curve downward
- Adds 3D depth and shows "pressure" direction
โก Pro Tip:
When you see lines suddenly "contract" (straighten), while both spheres are large โ this is an early indicator of impending discharge, because the interaction is losing its flexibility.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โช Moving Particles
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
What do they represent?
Real liquidity flow in the market โ who's driving price right now.
โ Number and Movement
- 6 particles covering most field lines
- Move sinusoidally along the arc:
t = (sin(phase_val) + 1) / 2
- High speed = High trading activity
- Clustering at a pole = That side's control
โ Color Gradient
From green (at positive pole) to red (at negative)
Shows "energy transformation":
- Green particle = Pure buying energy
- Orange particle = Conflict zone
- Red particle = Pure selling energy
๐ How to Read Them?
- Moving left to right (๐ข โ ๐ด): Buy flow โ Bullish push
- Moving right to left (๐ด โ ๐ข): Sell flow โ Bearish push
- Clustered in middle: Balanced conflict โ Wait for breakout
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ Discharge Zone (Orange Glow โ Center)
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
What does it represent?
Point of stored energy accumulation not yet discharged โ heart of the early warning system.
โ Glow Stages
Initial Warning (discharge_prob > 0.3):
- Dim orange circle (70% transparency)
- Meaning: Watch, don't enter yet
High Tension (discharge_prob โฅ 0.7):
- Stronger glow + "โ ๏ธ HIGH TENSION" text
- Meaning: Prepare โ Set pending orders
Imminent Discharge (discharge_prob โฅ 0.9):
- Bright glow + "โก DISCHARGE IMMINENT" text
- Meaning: Enter with direction (after candle confirmation)
โ Layered Glow Effect (Glow Layering)
3 concentric circles with increasing transparency:
- Inner: 20%
- Middle: 35%
- Outer: 50%
Result: Realistic aura resembling actual electrical discharge.
๐ Why in the Center?
Because discharge always starts from the relative balance zone โ where opposing pressures meet.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ Voltage Meter (Bottom of Scene)
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
What does it represent?
Simplified numeric indicator of voltage difference โ for those who prefer numerical reading.
โ Components
- Gray bar: Full range (โ100% to +100%)
- Green fill: Positive voltage (extends right)
- Red fill: Negative voltage (extends left)
- Lightning symbol (โก): Above center โ reminder it's an "electrical gauge"
- Text value: Like "+23.4%" โ in direction color
โ Voltage Reading Interpretation
+50% to +100%:
Overwhelming buying dominance โ Beware of saturation, may precede correction
+20% to +50%:
Strong buying dominance โ Suitable for buying with trend
+5% to +20%:
Slight bullish bias โ Wait for additional confirmation
โ5% to +5%:
Balance/Neutral โ Avoid entry or wait for breakout
โ5% to โ20%:
Slight bearish bias โ Wait for confirmation
โ20% to โ50%:
Strong selling dominance โ Suitable for selling with trend
โ50% to โ100%:
Overwhelming selling dominance โ Beware of saturation, may precede bounce
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ Field Strength Indicator (Top of Scene)
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
What it displays: "Field: XX.X%"
Meaning: Strength of conflict between buyers and sellers.
โ Reading Interpretation
0โ5%:
- Appearance: Nearly straight lines, transparent
- Meaning: Complete control by one side
- Strategy: Trend Following
5โ15%:
- Appearance: Slight curvature
- Meaning: Clear direction with light resistance
- Strategy: Enter with trend
15โ25%:
- Appearance: Medium curvature, clear lines
- Meaning: Balanced conflict
- Strategy: Range trading or waiting
25โ35%:
- Appearance: High curvature, clear density
- Meaning: Strong conflict, high uncertainty
- Strategy: Volatility trading or prepare for discharge
35%+:
- Appearance: Very high lines, strong glow
- Meaning: Peak tension
- Strategy: Best discharge opportunities
๐ Golden Relationship:
Highest discharge probability when:
Field Strength (25โ35%) + Voltage (ยฑ30โ50%) + High Volume
โ This is the "red zone" to monitor carefully.
โ Comprehensive Visual Reading
To read market condition at a glance, follow this sequence:
Step 1: Which sphere is larger?
- ๐ข Green larger โ Dominant buying pressure
- ๐ด Red larger โ Dominant selling pressure
- Equal โ Balance/Conflict
Step 2: Which sphere is bright?
- ๐ข Green bright โ Current bullish direction
- ๐ด Red bright โ Current bearish direction
- Both dim โ Neutral/No clear direction
Step 3: Is there orange glow?
- None โ Discharge probability <30%
- ๐ Dim glow โ Discharge probability 30โ70%
- ๐ Strong glow with text โ Discharge probability >70%
Step 4: What's the voltage meter reading?
- Strong positive โ Confirms buying dominance
- Strong negative โ Confirms selling dominance
- Near zero โ No clear direction
โ Practical Visual Reading Examples
Example 1: Ideal Buy Opportunity โก๐ข
- Green sphere: Large and bright with inner pulse
- Red sphere: Small and dim
- Orange glow: Strong with "DISCHARGE IMMINENT" text
- Voltage meter: +45%
- Field strength: 28%
Interpretation: Strong accumulated buying pressure, bullish explosion imminent
Example 2: Ideal Sell Opportunity โก๐ด
- Green sphere: Small and dim
- Red sphere: Large and bright with inner pulse
- Orange glow: Strong with "DISCHARGE IMMINENT" text
- Voltage meter: โ52%
- Field strength: 31%
Interpretation: Strong accumulated selling pressure, bearish explosion imminent
Example 3: Balance/Wait โ๏ธ
- Both spheres: Approximately equal in size
- Lighting: Both dim
- Orange glow: Strong
- Voltage meter: +3%
- Field strength: 24%
Interpretation: Strong conflict without clear winner, wait for breakout
Example 4: Clear Uptrend (No Discharge) ๐
- Green sphere: Large and bright
- Red sphere: Very small and dim
- Orange glow: None
- Voltage meter: +68%
- Field strength: 8%
Interpretation: Clear buying control, limited conflict, suitable for following bullish trend
Example 5: Potential Buying Saturation โ ๏ธ
- Green sphere: Very large and bright
- Red sphere: Very small
- Orange glow: Dim
- Voltage meter: +88%
- Field strength: 4%
Interpretation: Absolute buying dominance, may precede bearish correction
โ Trading Signals
โก DISCHARGE IMMINENT
Appearance Conditions:
- discharge_prob โฅ 0.9
- All enabled filters passed
- Confirmed (after candle close)
Interpretation:
- Very large energy accumulation
- Pressure reached critical level
- Price explosion expected within 1โ3 candles
How to Trade:
1. Determine voltage direction:
โข Positive = Expect rise
โข Negative = Expect fall
2. Wait for confirmation candle:
โข For rise: Bullish candle closing above its open
โข For fall: Bearish candle closing below its open
3. Entry: With next candle's open
4. Stop Loss: Behind last local low/high
5. Target: Risk/Reward ratio of at least 1:2
โ
Pro Tips:
- Best results when combined with support/resistance levels
- Avoid entry if voltage is near zero (ยฑ5%)
- Increase position size when field strength > 30%
โ ๏ธ HIGH TENSION
Appearance Conditions:
- 0.7 โค discharge_prob < 0.9
Interpretation:
- Market in energy accumulation state
- Likely strong move soon, but not immediate
- Accumulation may continue or discharge may occur
How to Benefit:
- Prepare: Set pending orders at potential breakouts
- Monitor: Watch following candles for momentum candle
- Select: Don't enter every signal โ choose those aligned with overall trend
โ Trading Strategies
๐ Strategy 1: Discharge Trading (Basic)
Principle: Enter at "DISCHARGE IMMINENT" in voltage direction
Steps:
1. Wait for "โก DISCHARGE IMMINENT"
2. Check voltage direction (+/โ)
3. Wait for confirmation candle in voltage direction
4. Enter with next candle's open
5. Stop loss behind last low/high
6. Target: 1:2 or 1:3 ratio
Very high success rate when following confirmation conditions.
๐ Strategy 2: Dominance Following
Principle: Trade with dominant pole (largest and brightest sphere)
Steps:
1. Identify dominant pole (largest and brightest)
2. Trade in its direction
3. Beware when sizes converge (conflict)
Suitable for higher timeframes (H1+).
๐ Strategy 3: Reversal Hunting
Principle: Counter-trend entry under certain conditions
Conditions:
- High field strength (>30%)
- Extreme voltage (>ยฑ40%)
- Divergence with price (e.g., new price high with declining voltage)
โ ๏ธ High risk โ Use small position size.
๐ Strategy 4: Integration with Technical Analysis
Strong Confirmation Examples:
- Resistance breakout + Bullish discharge = Excellent buy signal
- Support break + Bearish discharge = Excellent sell signal
- Head & Shoulders pattern + Increasing negative voltage = Pattern confirmation
- RSI divergence + High field strength = Potential reversal
โ Ready Alerts
Bullish Discharge
- Condition: discharge_prob โฅ 0.9 + Positive voltage + All filters
- Message: "โก Bullish discharge"
- Use: High probability buy opportunity
Bearish Discharge
- Condition: discharge_prob โฅ 0.9 + Negative voltage + All filters
- Message: "โก Bearish discharge"
- Use: High probability sell opportunity
โ
Tip: Use these alerts with "Once Per Bar" setting to avoid repetition.
โ Data Window Outputs
Bias
- Values: โ1 / 0 / +1
- Interpretation: โ1 = Bearish, 0 = Neutral, +1 = Bullish
- Use: For integration in automated strategies
Discharge %
- Range: 0โ100%
- Interpretation: Discharge probability
- Use: Monitor tension progression (e.g., from 40% to 85% in 5 candles)
Field Strength
- Range: 0โ100%
- Interpretation: Conflict intensity
- Use: Identify "opportunity window" (25โ35% ideal for discharge)
Voltage
- Range: โ100% to +100%
- Interpretation: Balance of power
- Use: Monitor extremes (potential buying/selling saturation)
โ Optimal Settings by Trading Style
Scalping
- Timeframe: 1Mโ5M
- Lookback: 10โ15
- Threshold: 0.5โ0.6
- Sensitivity: 1.2โ1.5
- Filters: Volume + Volatility
Day Trading
- Timeframe: 15Mโ1H
- Lookback: 20
- Threshold: 0.7
- Sensitivity: 1.0
- Filters: Volume + Volatility
Swing Trading
- Timeframe: 4HโD1
- Lookback: 30โ50
- Threshold: 0.8
- Sensitivity: 0.8
- Filters: Volatility + Trend
Position Trading
- Timeframe: D1โW1
- Lookback: 50โ100
- Threshold: 0.85โ0.95
- Sensitivity: 0.5โ0.8
- Filters: All filters
โ Tips for Optimal Use
1. Start with Default Settings
Try it first as is, then adjust to your style.
2. Watch for Element Alignment
Best signals when:
- Clear voltage (>โ20%โ)
- Moderateโhigh field strength (15โ35%)
- High discharge probability (>70%)
3. Use Multiple Timeframes
- Higher timeframe: Determine overall trend
- Lower timeframe: Time entry
- Ensure signal alignment between frames
4. Integrate with Other Tools
- Support/Resistance levels
- Trend lines
- Candle patterns
- Volume indicators
5. Respect Risk Management
- Don't risk more than 1โ2% of account
- Always use stop loss
- Don't enter every signal โ choose the best
โ Important Warnings
โ ๏ธ Not for Standalone Use
The indicator is an analytical support tool โ don't use it isolated from technical or fundamental analysis.
โ ๏ธ Doesn't Predict the Future
Calculations are based on historical data โ Results are not guaranteed.
โ ๏ธ Markets Differ
You may need to adjust settings for each market:
- Forex: Focus on Volume Filter
- Stocks: Add Trend Filter
- Crypto: Lower Threshold slightly (more volatile)
โ ๏ธ News and Events
The indicator doesn't account for sudden news โ Avoid trading before/during major news.
โ Unique Features
โ
First Application of Electromagnetism to Markets
Innovative mathematical model โ Not just an ordinary indicator
โ
Predictive Detection of Price Explosions
Alerts before the move happens โ Not after
โ
Multi-Layer Filtering
4 smart filters reduce false signals to minimum
โ
Smart Volatility Adaptation
Automatically adjusts sensitivity based on market conditions
โ
Animated 3D Visual Representation
Makes reading instant โ Even for beginners
โ
High Flexibility
Works on all assets: Stocks, Forex, Crypto, Commodities
โ
Built-in Ready Alerts
No complex setup needed โ Ready for immediate use
โ Conclusion: When Art Meets Science
Market Electromagnetic Field is not just an indicator โ but a new analytical philosophy.
It's the bridge between:
- Physics precision in describing dynamic systems
- Market intelligence in generating trading opportunities
- Visual psychology in facilitating instant reading
The result: A tool that isn't read โ but watched, felt, and sensed.
When you see the green sphere expanding, the glow intensifying, and particles rushing rightward โ you're not seeing numbers, you're seeing market energy breathing.
โ ๏ธ Disclaimer:
This indicator is for educational and analytical purposes only. It does not constitute financial, investment, or trading advice. Use it in conjunction with your own strategy and risk management. Neither TradingView nor the developer is liable for any financial decisions or losses.
ุงูู
ุฌุงู ุงูููุฑูู
ุบูุงุทูุณู ููุณูู - Market Electromagnetic Field
ู
ุคุดุฑ ุชุญูููู ู
ุจุชูุฑ ููุฏูู
ูู
ูุฐุฌูุง ุฌุฏูุฏูุง ูููููุง ูููู
ุฏููุงู
ูููุงุช ุงูุณููุ ู
ุณุชูุญู ู
ู ููุงููู ุงูููุฒูุงุก ุงูููุฑูู
ุบูุงุทูุณูุฉ โ ูููู ููุณ ุงุณุชุนุงุฑุฉ ุจูุงุบูุฉุ ุจู ูุธุงู
ุฑูุงุถู ู
ุชูุงู
ู.
ุนูู ุนูุณ ุงูู
ุคุดุฑุงุช ุงูุชูููุฏูุฉ ุงูุชู ุชูุฑููุฒ ุนูู ุงูุณุนุฑ ุฃู ุงูุฒุฎู
ุ ููุตููุฑ ูุฐุง ุงูู
ุคุดุฑ ุงูุณูู ูููุธุงู
ููุฒูุงุฆู ู
ุบููุ ุญูุซ:
โก ุงูุดู
ูุน = ุดุญูุงุช ููุฑุจุงุฆูุฉ (ู
ูุฌุจุฉ ุนูุฏ ุงูุฅุบูุงู ุงูุตุงุนุฏุ ุณุงูุจุฉ ุนูุฏ ุงููุงุจุท)
โก ุงูู
ุดุชุฑููู ูุงูุจุงุฆุนูู = ูุทุจุงู ู
ุชุนุงูุณุงู ูุชุฑุงูู
ูููู
ุง ุงูุถุบุท
โก ุงูุชูุชุฑ ุงูุณููู = ูุฑู ุฌูุฏ ุจูู ุงููุทุจูู
โก ุงูุงุฎุชุฑุงู ุงูุณุนุฑู = ุชูุฑูุบ ููุฑุจุงุฆู ุจุนุฏ ุชุฑุงูู
ุทุงูุฉ ูุงููุฉ
โ ุงูููุฑุฉ ุงูุฌููุฑูุฉ
ุงูุฃุณูุงู ูุง ุชุชุญุฑู ุนุดูุงุฆูููุงุ ุจู ุชุฎุถุน ูุฏูุฑุฉ ููุฒูุงุฆูุฉ ูุงุถุญุฉ:
ุชุฑุงูู
โ ุชูุชุฑ โ ุชูุฑูุบ โ ุงุณุชูุฑุงุฑ โ ุชุฑุงูู
ุฌุฏูุฏ
ุนูุฏู
ุง ุชุชุฑุงูู
ุงูุดุญูุงุช (ู
ู ุฎูุงู ุดู
ูุน ูููุฉ ุจุญุฌู
ู
ุฑุชูุน) ูุชุชุฌุงูุฒ "ุงูุณุนุฉ ุงูููุฑุจุงุฆูุฉ" ุนุชุจุฉ ู
ุนูููุฉุ ููุตุฏุฑ ุงูู
ุคุดุฑ ุชูุจูู "โก DISCHARGE IMMINENT" โ ุฃู ุฃู ุงููุฌุงุฑูุง ุณุนุฑูููุง ูุดูููุงุ ู
ู
ุง ูู
ูุญ ุงูู
ุชุฏุงูู ูุฑุตุฉ ุงูุฏุฎูู ูุจู ุจุฏุก ุงูุญุฑูุฉ.
โ ุงูู
ูุฒุฉ ุงูุชูุงูุณูุฉ
- ุชูุจุค ุงุณุชุจุงูู (ููุณ ุชุฃููุฏูููุง ุจุนุฏ ุงูุญุฏุซ)
- ููุชุฑุฉ ุฐููุฉ ู
ุชุนุฏุฏุฉ ุงูุทุจูุงุช ุชููู ุงูุฅุดุงุฑุงุช ุงููุงุฐุจุฉ
- ุชู
ุซูู ุจุตุฑู ุซูุงุซู ุงูุฃุจุนุงุฏ ู
ุชุญุฑู ูุฌุนู ูุฑุงุกุฉ ุงูุญุงูุฉ ุงูุณุนุฑูุฉ ููุฑูุฉ ูุจุฏูููุฉ โ ุฏูู ุญุงุฌุฉ ูุชุญููู ุฃุฑูุงู
โ ุงูุฃุณุงุณ ุงููุธุฑู ุงูููุฒูุงุฆู
ุงูู
ุคุดุฑ ูุง ูุณุชุฎุฏู
ู
ุตุทูุญุงุช ููุฒูุงุฆูุฉ ููุฒููุฉุ ุจู ููุทุจูู ุงูููุงููู ุงูุฑูุงุถูุฉ ู
ุน ุชุนุฏููุงุช ุณููููุฉ ุฏูููุฉ:
โก ูุงููู ููููู
(Coulomb's Law)
ุงูููุฒูุงุก: F = k ร (qโ ร qโ) / rยฒ
ุงูุณูู: ุดุฏุฉ ุงูุญูู = 4 ร norm_positive ร norm_negative
ุชุตู ูุฐุฑูุชูุง ุนูุฏ ุงูุชูุงุฒู (0.5 ร 0.5 ร 4 = 1.0)ุ ูุชูุฎูุถ ุนูุฏ ุงูููู
ูุฉ โ ูุฃู ุงูุตุฑุงุน ูุฒุฏุงุฏ ุนูุฏ ุงูุชูุงูุค.
โก ูุงููู ุฃูู
(Ohm's Law)
ุงูููุฒูุงุก: V = I ร R
ุงูุณูู: ุงูุฌูุฏ = norm_positive โ norm_negative
ูููุณ ู
ูุฒุงู ุงูููู:
- +1 = ููู
ูุฉ ุดุฑุงุฆูุฉ ู
ุทููุฉ
- โ1 = ููู
ูุฉ ุจูุนูุฉ ู
ุทููุฉ
- 0 = ุชูุงุฒู
โก ุงูุณุนุฉ ุงูููุฑุจุงุฆูุฉ (Capacitance)
ุงูููุฒูุงุก: C = Q / V
ุงูุณูู: ุงูุณุนุฉ = |ุงูุฌูุฏ| ร ุดุฏุฉ ุงูุญูู
ุชู
ุซูู ุงูุทุงูุฉ ุงูู
ุฎุฒููุฉ ุงููุงุจูุฉ ููุชูุฑูุบ โ ุชุฒุฏุงุฏ ุนูุฏ ูุฌูุฏ ุชุญููุฒ ู
ุน ุชูุงุนู ุนุงูู.
โก ุงูุชูุฑูุบ ุงูููุฑุจุงุฆู (Discharge)
ุงูููุฒูุงุก: ูุญุฏุซ ุนูุฏ ุชุฌุงูุฒ ุนุชุจุฉ ุงูุนุฒู
ุงูุณูู: ุงุญุชู
ุงู ุงูุชูุฑูุบ = min(ุงูุณุนุฉ / ุนุชุจุฉ ุงูุชูุฑูุบ, 1.0)
ุนูุฏู
ุง โฅ 0.9: "โก DISCHARGE IMMINENT"
๐ ู
ูุงุญุธุฉ ุฌููุฑูุฉ:
ุฃูุตู ุณุนุฉ ูุง ุชุญุฏุซ ุนูุฏ ุงูููู
ูุฉ ุงูู
ุทููุฉ (ุญูุซ ุดุฏุฉ ุงูุญูู = 0)ุ ููุง ุนูุฏ ุงูุชูุงุฒู ุงูุชุงู
(ุญูุซ ุงูุฌูุฏ = 0)ุ ุจู ุนูุฏ ุงูุญูุงุฒ ู
ุชูุณุท (ยฑ30โ50%) ู
ุน ุชูุงุนู ุนุงูู (ุดุฏุฉ ุญูู > 25%) โ ุฃู ูู ูุญุธุงุช "ุงูุถุบุท ูุจู ุงูุงุฎุชุฑุงู".
โ ุขููุฉ ุงูุญุณุงุจ ุงูุชูุตูููุฉ
โก ุงูู
ุฑุญูุฉ 1: ูุทุจูุฉ ุงูุดู
ุนุฉ
polarity = (close โ open) / (high โ low)
- +1.0: ุดู
ุนุฉ ุตุงุนุฏุฉ ูุงู
ูุฉ (ู
ุงุฑูุจูุฒู ุตุงุนุฏ)
- โ1.0: ุดู
ุนุฉ ูุงุจุทุฉ ูุงู
ูุฉ (ู
ุงุฑูุจูุฒู ูุงุจุท)
- 0.0: ุฏูุฌู (ูุง ูุฑุงุฑ)
- ุงูููู
ุงููุณูุทุฉ: ุชู
ุซูู ูุณุจุฉ ุฌุณู
ุงูุดู
ุนุฉ ุฅูู ู
ุฏุงูุง โ ู
ู
ุง ููููู ุชุฃุซูุฑ ุงูุดู
ูุน ุฐุงุช ุงูุธูุงู ุงูุทูููุฉ
โก ุงูู
ุฑุญูุฉ 2: ูุฒู ุงูุญุฌู
vol_weight = volume / SMA(volume, lookback)
ุดู
ุนุฉ ุจุญุฌู
150% ู
ู ุงูู
ุชูุณุท = ุดุญูุฉ ุฃููู ุจู 1.5 ู
ุฑุฉ
โก ุงูู
ุฑุญูุฉ 3: ู
ุนุงู
ู ุงูุชููู (Adaptive Factor)
adaptive_factor = ATR(lookback) / SMA(ATR, lookback ร 2)
- ูู ุงูุฃุณูุงู ุงูู
ุชููุจุฉ: ูุฒูุฏ ุงูุญุณุงุณูุฉ
- ูู ุงูุฃุณูุงู ุงููุงุฏุฆุฉ: ูููู ุงูุถูุถุงุก
- ููุตู ุฏุงุฆู
ูุง ุจุชุฑูู ู
ูุนูููุง
โก ุงูู
ุฑุญูุฉ 4โ6: ุชุฑุงูู
ูุชูุญูุฏ ุงูุดุญูุงุช
ุชูุฌู
ูุน ุงูุดุญูุงุช ุนูู lookback ุดู
ุนุฉุ ุซู
ุชููุญูุฏ ุงููุณุจ:
norm_positive = positive_charge / total_charge
norm_negative = negative_charge / total_charge
ุจุญูุซ: norm_positive + norm_negative = 1 โ ูุชุณููู ุงูู
ูุงุฑูุฉ
โก ุงูู
ุฑุญูุฉ 7: ุญุณุงุจุงุช ุงูุญูู
voltage = norm_positive โ norm_negative
field_intensity = 4 ร norm_positive ร norm_negative ร field_sensitivity
capacitance = |voltage| ร field_intensity
discharge_prob = min(capacitance / discharge_threshold, 1.0)
โ ุงูุฅุนุฏุงุฏุงุช
โก Electromagnetic Model
Lookback Period
- ุงูุงูุชุฑุงุถู: 20
- ุงููุทุงู: 5โ100
- ุงูุชูุตูุงุช:
- ุงูู
ุถุงุฑุจุฉ: 10โ15
- ุงูููู
ู: 20
- ุงูุณูููุบ: 30โ50
- ุงูุงุณุชุซู
ุงุฑ: 50โ100
Discharge Threshold
- ุงูุงูุชุฑุงุถู: 0.7
- ุงููุทุงู: 0.3โ0.95
- ุงูุชูุตูุงุช:
- ุณุฑุนุฉ + ุถูุถุงุก: 0.5โ0.6
- ุชูุงุฒู: 0.7
- ุฏูุฉ ุนุงููุฉ: 0.8โ0.95
Field Sensitivity
- ุงูุงูุชุฑุงุถู: 1.0
- ุงููุทุงู: 0.5โ2.0
- ุงูุชูุตูุงุช:
- ุชุถุฎูู
ุงูุตุฑุงุน: 1.2โ1.5
- ุทุจูุนู: 1.0
- ุชูุฏุฆุฉ: 0.5โ0.8
Adaptive Mode
- ุงูุงูุชุฑุงุถู: ู
ูุนูู
- ุฃุจููู ุฏุงุฆู
ูุง ู
ูุนูููุง
๐ฌ Dynamic Filters
ูุฌุจ ุงุฌุชูุงุฒ ุฌู
ูุน ุงูููุงุชุฑ ุงูู
ูุนููุฉ ูุธููุฑ ุฅุดุงุฑุฉ ุงูุชูุฑูุบ.
Volume Filter
- ุงูุดุฑุท: volume > SMA(volume) ร vol_multiplier
- ุงููุธููุฉ: ูุณุชุจุนุฏ ุงูุดู
ูุน "ุงูุถุนููุฉ" ุบูุฑ ุงูู
ุฏุนูู
ุฉ ุจุญุฌู
- ุงูุชูุตูุฉ: ู
ูุนูู (ุฎุงุตุฉ ููุฃุณูู
ูุงูุนู
ูุงุช)
Volatility Filter
- ุงูุดุฑุท: STDEV > SMA(STDEV) ร 0.5
- ุงููุธููุฉ: ูุชุฌุงูู ูุชุฑุงุช ุงูุฑููุฏ ุงูุฌุงูุจู
- ุงูุชูุตูุฉ: ู
ูุนูู ุฏุงุฆู
ูุง
Trend Filter
- ุงูุดุฑุท: ุชูุงูู ุงูุฌูุฏ ู
ุน EMA ุณุฑูุน/ุจุทูุก
- ุงููุธููุฉ: ูููู ุงูุฅุดุงุฑุงุช ุงูู
ุนุงูุณุฉ ููุงุชุฌุงู ุงูุนุงู
- ุงูุชูุตูุฉ: ู
ูุนูู ููุณูููุบ/ุงูุงุณุชุซู
ุงุฑ ููุท
Volume Threshold
- ุงูุงูุชุฑุงุถู: 1.2
- ุงูุชูุตูุงุช:
- 1.0โ1.2: ุญุณุงุณูุฉ ุนุงููุฉ
- 1.5โ2.0: ุญุตุฑูุฉ ููุญุฌู
ุงูุนุงูู
๐จ Visual Settings
ุงูุฅุนุฏุงุฏุงุช ุชูุญุณูู ุชุฌุฑุจุฉ ุงููุฑุงุกุฉ ุงูุจุตุฑูุฉ โ ูุง ุชุคุซุฑ ุนูู ุงูุญุณุงุจุงุช.
Scale Factor
- ุงูุงูุชุฑุงุถู: 600
- ููู
ุง ุฒุงุฏ: ุงูู
ุดูุฏ ุฃูุจุฑ (200โ1200)
Horizontal Shift
- ุงูุงูุชุฑุงุถู: 180
- ุฅุฒุงุญุฉ ุฃููููุฉ ูููุณุงุฑ โ ููุฑููุฒ ุนูู ุขุฎุฑ ุดู
ุนุฉ
Pole Size
- ุงูุงูุชุฑุงุถู: 60
- ุญุฌู
ุงููุฑุงุช ุงูุฃุณุงุณูุฉ (30โ120)
Field Lines
- ุงูุงูุชุฑุงุถู: 8
- ุนุฏุฏ ุฎุทูุท ุงูุญูู (4โ16) โ 8 ุชูุงุฒู ู
ุซุงูู
ุงูุฃููุงู
- ุฃุฎุถุฑ/ุฃุญู
ุฑ/ุฃุฒุฑู/ุจุฑุชูุงูู
- ูุงุจูุฉ ููุชุฎุตูุต ุจุงููุงู
ู
โ ุงูุชู
ุซูู ุงูุจุตุฑู: ูุบุฉ ุจุตุฑูุฉ ูุชุดุฎูุต ุงูุญุงูุฉ ุงูุณุนุฑูุฉ
โจ ุงูููุณูุฉ ุงูุชุตู
ูู
ูุฉ
ุงูุชู
ุซูู ููุณ "ุฒููุฉ"ุ ุจู ูู
ูุฐุฌ ู
ุนุฑูู ู
ุชูุงู
ู โ ูู ุนูุตุฑ ูุญู
ู ู
ุนููู
ุฉุ ูุชูุงุนู ุงูุนูุงุตุฑ ูุฑูู ูุตุฉ ูุงู
ูุฉ.
ุงูุนูู ูุฏุฑู ุงูุชุบููุฑ ูู ุงูุญุฌู
ุ ุงููููุ ูุงูุญุฑูุฉ ุฃุณุฑุน ุจู 60,000 ู
ุฑุฉ ู
ู ูุฑุงุกุฉ ุงูุฃุฑูุงู
โ ูุฐุง ูู
ููู "ุงูุฅุญุณุงุณ" ุจุงูุชุบูุฑ ูุจู ุฃู ุชูููู ุงูุนูู ุงูู
ุณุญ.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ข ุงููุทุจ ุงูู
ูุฌุจ (ุงููุฑุฉ ุงูุฎุถุฑุงุก โ ูุณุงุฑ)
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
ู
ุงุฐุง ูู
ุซููุ
ุชุฑุงูู
ุถุบุท ุงูุดุฑุงุก ุงููุดุท โ ููุณ ู
ุฌุฑุฏ ุงุชุฌุงู ุตุงุนุฏุ ุจู ููุฉ ุทูุจ ุญููููุฉ ู
ุฏุนูู
ุฉ ุจุญุฌู
ูุชูููุจ.
โ ุงูุญุฌู
ุงูู
ุชุบูุฑ
ุญุฌู
= pole_size ร (0.7 + norm_positive ร 0.6)
- 70% ู
ู ุงูุญุฌู
ุงูุฃุณุงุณู = ูุง ุดุญูุฉ ุชูุฐูุฑ
- 130% ู
ู ุงูุญุฌู
ุงูุฃุณุงุณู = ููู
ูุฉ ุชุงู
ุฉ
- ููู
ุง ูุจุฑุช ุงููุฑุฉ: ุฒุงุฏ ุชูููู ุงูู
ุดุชุฑููุ ูุงุฑุชูุน ุงุญุชู
ุงู ุงูุงุณุชู
ุฑุงุฑ ุงูุตุนูุฏู
ุชูุณูุฑ ุงูุญุฌู
:
- ูุฑุฉ ูุจูุฑุฉ (>55%): ุถุบุท ุดุฑุงุก ููู โ ุงูู
ุดุชุฑูู ูุณูุทุฑูู
- ูุฑุฉ ู
ุชูุณุทุฉ (45โ55%): ุชูุงุฒู ูุณุจู ู
ุน ู
ูู ููุดุฑุงุก
- ูุฑุฉ ุตุบูุฑุฉ (<45%): ุถุนู ุถุบุท ุงูุดุฑุงุก โ ุงูุจุงุฆุนูู ูุณูุทุฑูู
โ ุงูุฅุถุงุกุฉ ูุงูุดูุงููุฉ
- ุดูุงููุฉ 20% (ุนูุฏ Bias = +1): ุงููุทุจ ูุดุท ุญุงููุงู โ ุงูุงุชุฌุงู ุตุนูุฏู
- ุดูุงููุฉ 50% (ุนูุฏ Bias โ +1): ุงููุทุจ ุบูุฑ ูุดุท โ ููุณ ุงูุงุชุฌุงู ุงูุณุงุฆุฏ
ุงูุฅุถุงุกุฉ = ุงููุดุงุท ุงูุญุงููุ ุจููู
ุง ุงูุญุฌู
= ุงูุชุฑุงูู
ุงูุชุงุฑูุฎู
โ ุงูุชููุฌ ุงูุฏุงุฎูู ุงููุงุจุถ
ูุฑุฉ ุฃุตุบุฑ ุชูุจุถ ุชููุงุฆูููุง ุนูุฏ Bias = +1:
inner_pulse = 0.4 + 0.1 ร sin(anim_time ร 3)
ูุฑู
ุฒ ุฅูู ุงุณุชู
ุฑุงุฑูุฉ ุชุฏูู ุฃูุงู
ุฑ ุงูุดุฑุงุก โ ูููุณ ููู
ูุฉ ุฌุงู
ุฏุฉ.
โ ุงูุญููุงุช ุงูู
ุฏุงุฑูุฉ
ุญููุชุงู ุชุฏูุฑุงู ุจุณุฑุนุงุช ูุงุชุฌุงูุงุช ู
ุฎุชููุฉ:
- ุงูุฏุงุฎููุฉ: 1.3ร ุญุฌู
ุงููุฑุฉ โ ูุทุงู ุงูุชุฃุซูุฑ ุงูู
ุจุงุดุฑ
- ุงูุฎุงุฑุฌูุฉ: 1.6ร ุญุฌู
ุงููุฑุฉ โ ูุทุงู ุงูุชุฃุซูุฑ ุงูู
ู
ุชุฏ
ุชู
ุซูู "ูุทุงู ุชุฃุซูุฑ" ุงูู
ุดุชุฑูู:
- ุงูุฏูุฑุงู ุงูู
ุณุชู
ุฑ = ุงุณุชูุฑุงุฑ ูุฒุฎู
- ุงูุชุจุงุทุค = ููุงุฏ ุงูุฒุฎู
โ ุงููุณุจุฉ ุงูู
ุฆููุฉ
ุชุธูุฑ ุชุญุช ุงููุฑุฉ: norm_positive ร 100
- >55% = ููู
ูุฉ ูุงุถุญุฉ
- 45โ55% = ุชูุงุฒู
- <45% = ุถุนู
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ด ุงููุทุจ ุงูุณุงูุจ (ุงููุฑุฉ ุงูุญู
ุฑุงุก โ ูู
ูู)
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
ู
ุงุฐุง ูู
ุซููุ
ุชุฑุงูู
ุถุบุท ุงูุจูุน ุงููุดุท โ ุณูุงุก ูุงู ุจูุนูุง ุชุฑุงูู
ูููุง (ุงูุชูุฒูุน ุงูุฐูู) ุฃู ุจูุนูุง ูุณุชูุฑูููุง (ุชุตููุฉ ู
ุฑุงูุฒ).
โ ุงูุฏููุงู
ูููุงุช ุงูุจุตุฑูุฉ
ููุณ ุขููุฉ ุงูุญุฌู
ูุงูุฅุถุงุกุฉ ูุงูุชููุฌ ุงูุฏุงุฎูู โ ููู ุจุงูููู ุงูุฃุญู
ุฑ.
ุงููุฑู ุงูุฌููุฑู:
- ุงูุฏูุฑุงู ู
ุนููุณ (ุนูุณ ุงุชุฌุงู ุนูุงุฑุจ ุงูุณุงุนุฉ)
- ููู
ููุฒ ุจุตุฑูููุง ุจูู "ุชุฏูู ุงูุดุฑุงุก" ู"ุชุฏูู ุงูุจูุน"
- ูุณู
ุญ ุจูุฑุงุกุฉ ุงูุงุชุฌุงู ุจูุธุฑุฉ ูุงุญุฏุฉ โ ุญุชู ููู
ุตุงุจูู ุจุนูู
ูู ุงูุฃููุงู
๐ ู
ูุฎุต ูุฑุงุกุฉ ุงููุทุจูู:
๐ข ูุฑุฉ ุฎุถุฑุงุก ูุจูุฑุฉ + ู
ุถูุฆุฉ = ููุฉ ุดุฑุงุฆูุฉ ูุดุทุฉ
๐ด ูุฑุฉ ุญู
ุฑุงุก ูุจูุฑุฉ + ู
ุถูุฆุฉ = ููุฉ ุจูุนูุฉ ูุดุทุฉ
๐ข๐ด ูุฑุชุงู ูุจูุฑุชุงู ููู ุฎุงูุชุชุงู = ุชุฑุงูู
ุทุงูุฉ (ูุจู ุงูุชูุฑูุบ)
โช ูุฑุชุงู ุตุบูุฑุชุงู = ุฑููุฏ / ุณูููุฉ ู
ูุฎูุถุฉ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ต ุฎุทูุท ุงูุญูู (ุงูุฎุทูุท ุงูุฒุฑูุงุก ุงูู
ูุญููุฉ)
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
ู
ุงุฐุง ุชู
ุซููุ
ู
ุณุงุฑุงุช ุชุฏูู ุงูุทุงูุฉ ุจูู ุงููุทุจูู โ ุฃู ุงูุณุงุญุฉ ุงูุชู ุชูุฏุงุฑ ูููุง ุงูู
ุนุฑูุฉ ุงูุณุนุฑูุฉ.
โ ุนุฏุฏ ุงูุฎุทูุท
4โ16 ุฎุท (ุงูุงูุชุฑุงุถู: 8)
ููู
ุง ุฒุงุฏ ุงูุนุฏุฏ: ุฒุงุฏ ุฅุญุณุงุณ "ูุซุงูุฉ ุงูุชูุงุนู"
โ ุงุฑุชูุงุน ุงูููุณ
arc_h = (i โ half_lines) ร 15 ร field_intensity ร 2
- ุดุฏุฉ ุญูู ุนุงููุฉ = ุฎุทูุท ุดุฏูุฏุฉ ุงูุงุฑุชูุงุน (ู
ุซู ู
ูุฌุฉ)
- ุดุฏุฉ ู
ูุฎูุถุฉ = ุฎุทูุท ุดุจู ู
ุณุชููู
ุฉ
โ ุงูุดูุงููุฉ ุงูู
ุชุฐุจุฐุจุฉ
transp = 30 + phase ร 40
ุญูุซ phase = sin(anim_time ร 2 + i ร 0.5) ร 0.5 + 0.5
ุชุฎูู ููู
"ุชููุงุฑ ู
ุชุฏููู" โ ูููุณ ุฎุทูุทูุง ุซุงุจุชุฉ
โ ุงูุงูุญูุงุก ุบูุฑ ุงูู
ุชูุงุธุฑ
- ุงูุฎุทูุท ุงูุนูููุฉ ุชูุญูู ูุฃุนูู
- ุงูุฎุทูุท ุงูุณูููุฉ ุชูุญูู ูุฃุณูู
- ููุถูู ุนู
ููุง ุซูุงุซู ุงูุฃุจุนุงุฏ ูููุธูุฑ ุงุชุฌุงู "ุงูุถุบุท"
โก ุชูู
ูุญ ุงุญุชุฑุงูู:
ุนูุฏู
ุง ุชุฑู ุงูุฎุทูุท "ุชุชูููุต" ูุฌุฃุฉ (ุชุณุชููู
)ุ ุจููู
ุง ุงููุฑุชุงู ูุจูุฑุชุงู โ ููุฐุง ู
ุคุดุฑ ู
ุจูุฑ ุนูู ูุฑุจ ุงูุชูุฑูุบุ ูุฃู ุงูุชูุงุนู ุจุฏุฃ ูููุฏ ู
ุฑููุชู.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โช ุงูุฌุฒูุฆุงุช ุงูู
ุชุญุฑูุฉ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
ู
ุงุฐุง ุชู
ุซููุ
ุชุฏูู ุงูุณูููุฉ ุงูุญููููุฉ ูู ุงูุณูู โ ุฃู ู
ู ูุฏูุน ุงูุณุนุฑ ุงูุขู.
โ ุงูุนุฏุฏ ูุงูุญุฑูุฉ
- 6 ุฌุฒูุฆุงุช ุชุบุทู ู
ุนุธู
ุฎุทูุท ุงูุญูู
- ุชุชุญุฑู ุฌูุจูููุง ุนูู ุทูู ุงูููุณ:
t = (sin(phase_val) + 1) / 2
- ุณุฑุนุฉ ุนุงููุฉ = ูุดุงุท ุชุฏุงูู ุนุงูู
- ุชุฌู
ูุน ุนูุฏ ูุทุจ = ุณูุทุฑุฉ ูุฐุง ุงูุทุฑู
โ ุชุฏุฑุฌ ุงูููู
ู
ู ุฃุฎุถุฑ (ุนูุฏ ุงููุทุจ ุงูู
ูุฌุจ) ุฅูู ุฃุญู
ุฑ (ุนูุฏ ุงูุณุงูุจ)
ููุธูุฑ "ุชุญููู ุงูุทุงูุฉ":
- ุฌุฒูุก ุฃุฎุถุฑ = ุทุงูุฉ ุดุฑุงุฆูุฉ ูููุฉ
- ุฌุฒูุก ุจุฑุชูุงูู = ู
ูุทูุฉ ุตุฑุงุน
- ุฌุฒูุก ุฃุญู
ุฑ = ุทุงูุฉ ุจูุนูุฉ ูููุฉ
๐ ููู ุชูุฑุฃูุงุ
- ุชุญุฑูุช ู
ู ุงููุณุงุฑ ูููู
ูู (๐ข โ ๐ด): ุชุฏูู ุดุฑุงุฆู โ ุฏูุน ุตุนูุฏู
- ุชุญุฑูุช ู
ู ุงููู
ูู ูููุณุงุฑ (๐ด โ ๐ข): ุชุฏูู ุจูุนู โ ุฏูุน ูุจูุทู
- ุชุฌู
ูุนุช ูู ุงูู
ูุชุตู: ุตุฑุงุน ู
ุชูุงูุฆ โ ุงูุชุธุฑ ุงุฎุชุฑุงููุง
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ ู
ูุทูุฉ ุงูุชูุฑูุบ (ุงูุชููุฌ ุงูุจุฑุชูุงูู โ ุงูู
ุฑูุฒ)
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
ู
ุงุฐุง ุชู
ุซููุ
ููุทุฉ ุชุฑุงูู
ุงูุทุงูุฉ ุงูู
ุฎุฒููุฉ ุงูุชู ูู
ุชููุฑูุบ ุจุนุฏ โ ููุจ ูุธุงู
ุงูุฅูุฐุงุฑ ุงูู
ุจูุฑ.
โ ู
ุฑุงุญู ุงูุชููุฌ
ุฅูุฐุงุฑ ุฃููู (discharge_prob > 0.3):
- ุฏุงุฆุฑุฉ ุจุฑุชูุงููุฉ ุฎุงูุชุฉ (ุดูุงููุฉ 70%)
- ุงูู
ุนูู: ุฑุงูุจุ ูุง ุชุฏุฎู ุจุนุฏ
ุชูุชุฑ ุนุงูู (discharge_prob โฅ 0.7):
- ุชููุฌ ุฃููู + ูุต "โ ๏ธ HIGH TENSION"
- ุงูู
ุนูู: ุงุณุชุนุฏ โ ุถุน ุฃูุงู
ุฑ ู
ุนููุฉ
ุชูุฑูุบ ูุดูู (discharge_prob โฅ 0.9):
- ุชููุฌ ุณุงุทุน + ูุต "โก DISCHARGE IMMINENT"
- ุงูู
ุนูู: ุงุฏุฎู ู
ุน ุงูุงุชุฌุงู (ุจุนุฏ ุชุฃููุฏ ุดู
ุนุฉ)
โ ุชุฃุซูุฑ ุงูุชููุฌ ุงูุทุจูู (Glow Layering)
3 ุฏูุงุฆุฑ ู
ุชุญุฏุฉ ุงูู
ุฑูุฒ ุจุดูุงููุฉ ู
ุชุฒุงูุฏุฉ:
- ุฏุงุฎูู: 20%
- ูุณุท: 35%
- ุฎุงุฑุฌู: 50%
ุงููุชูุฌุฉ: ูุงูุฉ (Aura) ูุงูุนูุฉ ุชุดุจู ุงูุชูุฑูุบ ุงูููุฑุจุงุฆู ุงูุญูููู.
๐ ูู
ุงุฐุง ูู ุงูู
ุฑูุฒุ
ูุฃู ุงูุชูุฑูุบ ูุจุฏุฃ ุฏุงุฆู
ูุง ู
ู ู
ูุทูุฉ ุงูุชูุงุฒู ุงููุณุจู โ ุญูุซ ููุชูู ุงูุถุบุทุงู ุงูู
ุชุนุงูุณุงู.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ ู
ููุงุณ ุงูุฌูุฏ (ุฃุณูู ุงูู
ุดูุฏ)
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
ู
ุงุฐุง ูู
ุซููุ
ู
ุคุดุฑ ุฑูู
ู ู
ุจุณูุท ููุฑู ุงูุฌูุฏ โ ูู
ู ููุถูู ุงููุฑุงุกุฉ ุงูุนุฏุฏูุฉ.
โ ุงูู
ูููุงุช
- ุงูุดุฑูุท ุงูุฑู
ุงุฏู: ุงููุทุงู ุงููุงู
ู (โ100% ุฅูู +100%)
- ุงูุชุนุจุฆุฉ ุงูุฎุถุฑุงุก: ุฌูุฏ ู
ูุฌุจ (ุชู
ุชุฏ ูููู
ูู)
- ุงูุชุนุจุฆุฉ ุงูุญู
ุฑุงุก: ุฌูุฏ ุณุงูุจ (ุชู
ุชุฏ ูููุณุงุฑ)
- ุฑู
ุฒ ุงูุจุฑู (โก): ููู ุงูู
ุฑูุฒ โ ุชุฐููุฑ ุจุฃูู "ู
ููุงุณ ููุฑุจุงุฆู"
- ุงูููู
ุฉ ุงููุตูุฉ: ู
ุซู "+23.4%" โ ุจููู ุงูุงุชุฌุงู
โ ุชูุณูุฑ ูุฑุงุกุงุช ุงูุฌูุฏ
+50% ุฅูู +100%:
ููู
ูุฉ ุดุฑุงุฆูุฉ ุณุงุญูุฉ โ ุงุญุฐุฑ ุงูุชุดุจุนุ ูุฏ ูุณุจู ุชุตุญูุญ
+20% ุฅูู +50%:
ููู
ูุฉ ุดุฑุงุฆูุฉ ูููุฉ โ ู
ูุงุณุจ ููุดุฑุงุก ู
ุน ุงูุงุชุฌุงู
+5% ุฅูู +20%:
ู
ูู ุตุนูุฏู ุฎููู โ ุงูุชุธุฑ ุชุฃููุฏูุง ุฅุถุงููููุง
โ5% ุฅูู +5%:
ุชูุงุฒู/ุญูุงุฏ โ ุชุฌููุจ ุงูุฏุฎูู ุฃู ุงูุชุธุฑ ุงุฎุชุฑุงููุง
โ5% ุฅูู โ20%:
ู
ูู ูุจูุทู ุฎููู โ ุงูุชุธุฑ ุชุฃููุฏูุง
โ20% ุฅูู โ50%:
ููู
ูุฉ ุจูุนูุฉ ูููุฉ โ ู
ูุงุณุจ ููุจูุน ู
ุน ุงูุงุชุฌุงู
โ50% ุฅูู โ100%:
ููู
ูุฉ ุจูุนูุฉ ุณุงุญูุฉ โ ุงุญุฐุฑ ุงูุชุดุจุนุ ูุฏ ูุณุจู ุงุฑุชุฏุงุฏ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ ู
ุคุดุฑ ุดุฏุฉ ุงูุญูู (ุฃุนูู ุงูู
ุดูุฏ)
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
ู
ุง ูุนุฑุถู: "Field: XX.X%"
ุงูุฏูุงูุฉ: ููุฉ ุงูุตุฑุงุน ุจูู ุงูู
ุดุชุฑูู ูุงูุจุงุฆุนูู.
โ ุชูุณูุฑ ุงููุฑุงุกุงุช
0โ5%:
- ุงูู
ุธูุฑ: ุฎุทูุท ู
ุณุชููู
ุฉ ุชูุฑูุจูุงุ ุดูุงูุฉ
- ุงูู
ุนูู: ุณูุทุฑุฉ ุชุงู
ุฉ ูุฃุญุฏ ุงูุทุฑููู
- ุงูุงุณุชุฑุงุชูุฌูุฉ: ุชุชุจุน ุงูุชุฑูุฏ (Trend Following)
5โ15%:
- ุงูู
ุธูุฑ: ุงูุญูุงุก ุฎููู
- ุงูู
ุนูู: ุงุชุฌุงู ูุงุถุญ ู
ุน ู
ูุงูู
ุฉ ุฎูููุฉ
- ุงูุงุณุชุฑุงุชูุฌูุฉ: ุงูุฏุฎูู ู
ุน ุงูุงุชุฌุงู
15โ25%:
- ุงูู
ุธูุฑ: ุงูุญูุงุก ู
ุชูุณุทุ ุฎุทูุท ูุงุถุญุฉ
- ุงูู
ุนูู: ุตุฑุงุน ู
ุชูุงุฒู
- ุงูุงุณุชุฑุงุชูุฌูุฉ: ุชุฏุงูู ุงููุทุงู ุฃู ุงูุงูุชุธุงุฑ
25โ35%:
- ุงูู
ุธูุฑ: ุงูุญูุงุก ุนุงููุ ูุซุงูุฉ ูุงุถุญุฉ
- ุงูู
ุนูู: ุตุฑุงุน ูููุ ุนุฏู
ูููู ุนุงูู
- ุงูุงุณุชุฑุงุชูุฌูุฉ: ุชุฏุงูู ุงูุชูููุจ ุฃู ุงูุงุณุชุนุฏุงุฏ ููุชูุฑูุบ
35%+:
- ุงูู
ุธูุฑ: ุฎุทูุท ุนุงููุฉ ุฌุฏููุงุ ุชููุฌ ููู
- ุงูู
ุนูู: ุฐุฑูุฉ ุงูุชูุชุฑ
- ุงูุงุณุชุฑุงุชูุฌูุฉ: ุฃูุถู ูุฑุต ุงูุชูุฑูุบ
๐ ุงูุนูุงูุฉ ุงูุฐูุจูุฉ:
ุฃุนูู ุงุญุชู
ุงู ุชูุฑูุบ ุนูุฏู
ุง:
ุดุฏุฉ ุงูุญูู (25โ35%) + ุฌูุฏ (ยฑ30โ50%) + ุญุฌู
ู
ุฑุชูุน
โ ูุฐู ูู "ุงูู
ูุทูุฉ ุงูุญู
ุฑุงุก" ุงูุชู ูุฌุจ ู
ุฑุงูุจุชูุง ุจุฏูุฉ.
โ ูุฑุงุกุฉ ุงูุชู
ุซูู ุงูุจุตุฑู ุงูุดุงู
ูุฉ
ููุฑุงุกุฉ ุญุงูุฉ ุงูุณูู ุจูุธุฑุฉ ูุงุญุฏุฉุ ุงุชุจุน ูุฐุง ุงูุชุณูุณู:
ุงูุฎุทูุฉ 1: ุฃู ูุฑุฉ ุฃูุจุฑุ
- ๐ข ุงูุฎุถุฑุงุก ุฃูุจุฑ โ ุถุบุท ุดุฑุงุก ู
ููู
ู
- ๐ด ุงูุญู
ุฑุงุก ุฃูุจุฑ โ ุถุบุท ุจูุน ู
ููู
ู
- ู
ุชุณุงููุชุงู โ ุชูุงุฒู/ุตุฑุงุน
ุงูุฎุทูุฉ 2: ุฃู ูุฑุฉ ู
ุถูุฆุฉุ
- ๐ข ุงูุฎุถุฑุงุก ู
ุถูุฆุฉ โ ุงุชุฌุงู ุตุนูุฏู ุญุงูู
- ๐ด ุงูุญู
ุฑุงุก ู
ุถูุฆุฉ โ ุงุชุฌุงู ูุจูุทู ุญุงูู
- ููุงูู
ุง ุฎุงูุช โ ุญูุงุฏ/ูุง ุงุชุฌุงู ูุงุถุญ
ุงูุฎุทูุฉ 3: ูู ููุฌุฏ ุชููุฌ ุจุฑุชูุงููุ
- ูุง ููุฌุฏ โ ุงุญุชู
ุงู ุชูุฑูุบ <30%
- ๐ ุชููุฌ ุฎุงูุช โ ุงุญุชู
ุงู ุชูุฑูุบ 30โ70%
- ๐ ุชููุฌ ููู ู
ุน ูุต โ ุงุญุชู
ุงู ุชูุฑูุบ >70%
ุงูุฎุทูุฉ 4: ู
ุง ูุฑุงุกุฉ ู
ููุงุณ ุงูุฌูุฏุ
- ู
ูุฌุจ ููู โ ุชุฃููุฏ ุงูููู
ูุฉ ุงูุดุฑุงุฆูุฉ
- ุณุงูุจ ููู โ ุชุฃููุฏ ุงูููู
ูุฉ ุงูุจูุนูุฉ
- ูุฑูุจ ู
ู ุงูุตูุฑ โ ูุง ุงุชุฌุงู ูุงุถุญ
โ ุฃู
ุซูุฉ ุนู
ููุฉ ูููุฑุงุกุฉ ุงูุจุตุฑูุฉ
ุงูู
ุซุงู 1: ูุฑุตุฉ ุดุฑุงุก ู
ุซุงููุฉ โก๐ข
- ุงููุฑุฉ ุงูุฎุถุฑุงุก: ูุจูุฑุฉ ูู
ุถูุฆุฉ ู
ุน ูุจุถ ุฏุงุฎูู
- ุงููุฑุฉ ุงูุญู
ุฑุงุก: ุตุบูุฑุฉ ูุฎุงูุชุฉ
- ุงูุชููุฌ ุงูุจุฑุชูุงูู: ููู ู
ุน ูุต "DISCHARGE IMMINENT"
- ู
ููุงุณ ุงูุฌูุฏ: +45%
- ุดุฏุฉ ุงูุญูู: 28%
ุงูุชูุณูุฑ: ุถุบุท ุดุฑุงุก ููู ู
ุชุฑุงูู
ุ ุงููุฌุงุฑ ุตุนูุฏู ูุดูู
ุงูู
ุซุงู 2: ูุฑุตุฉ ุจูุน ู
ุซุงููุฉ โก๐ด
- ุงููุฑุฉ ุงูุฎุถุฑุงุก: ุตุบูุฑุฉ ูุฎุงูุชุฉ
- ุงููุฑุฉ ุงูุญู
ุฑุงุก: ูุจูุฑุฉ ูู
ุถูุฆุฉ ู
ุน ูุจุถ ุฏุงุฎูู
- ุงูุชููุฌ ุงูุจุฑุชูุงูู: ููู ู
ุน ูุต "DISCHARGE IMMINENT"
- ู
ููุงุณ ุงูุฌูุฏ: โ52%
- ุดุฏุฉ ุงูุญูู: 31%
ุงูุชูุณูุฑ: ุถุบุท ุจูุน ููู ู
ุชุฑุงูู
ุ ุงููุฌุงุฑ ูุจูุทู ูุดูู
ุงูู
ุซุงู 3: ุชูุงุฒู/ุงูุชุธุงุฑ โ๏ธ
- ุงููุฑุชุงู: ู
ุชุณุงููุชุงู ุชูุฑูุจุงู ูู ุงูุญุฌู
- ุงูุฅุถุงุกุฉ: ููุงูู
ุง ุฎุงูุช
- ุงูุชููุฌ ุงูุจุฑุชูุงูู: ููู
- ู
ููุงุณ ุงูุฌูุฏ: +3%
- ุดุฏุฉ ุงูุญูู: 24%
ุงูุชูุณูุฑ: ุตุฑุงุน ููู ุจุฏูู ูุงุฆุฒ ูุงุถุญุ ุงูุชุธุฑ ุงุฎุชุฑุงููุง
ุงูู
ุซุงู 4: ุงุชุฌุงู ุตุนูุฏู ูุงุถุญ (ูุง ุชูุฑูุบ) ๐
- ุงููุฑุฉ ุงูุฎุถุฑุงุก: ูุจูุฑุฉ ูู
ุถูุฆุฉ
- ุงููุฑุฉ ุงูุญู
ุฑุงุก: ุตุบูุฑุฉ ุฌุฏุงู ูุฎุงูุชุฉ
- ุงูุชููุฌ ุงูุจุฑุชูุงูู: ูุง ููุฌุฏ
- ู
ููุงุณ ุงูุฌูุฏ: +68%
- ุดุฏุฉ ุงูุญูู: 8%
ุงูุชูุณูุฑ: ุณูุทุฑุฉ ุดุฑุงุฆูุฉ ูุงุถุญุฉุ ุตุฑุงุน ู
ุญุฏูุฏุ ู
ูุงุณุจ ูุชุชุจุน ุงูุชุฑูุฏ ุงูุตุนูุฏู
ุงูู
ุซุงู 5: ุชุดุจุน ุดุฑุงุฆู ู
ุญุชู
ู โ ๏ธ
- ุงููุฑุฉ ุงูุฎุถุฑุงุก: ูุจูุฑุฉ ุฌุฏุงู ูู
ุถูุฆุฉ
- ุงููุฑุฉ ุงูุญู
ุฑุงุก: ุตุบูุฑุฉ ุฌุฏุงู
- ุงูุชููุฌ ุงูุจุฑุชูุงูู: ุฎุงูุช
- ู
ููุงุณ ุงูุฌูุฏ: +88%
- ุดุฏุฉ ุงูุญูู: 4%
ุงูุชูุณูุฑ: ููู
ูุฉ ุดุฑุงุฆูุฉ ู
ุทููุฉุ ูุฏ ูุณุจู ุชุตุญูุญุงู ูุจูุทูุงู
โ ุฅุดุงุฑุงุช ุงูุชุฏุงูู
โก DISCHARGE IMMINENT (ุงูุชูุฑูุบ ุงููุดูู)
ุดุฑูุท ุงูุธููุฑ:
- discharge_prob โฅ 0.9
- ุงุฌุชูุงุฒ ุฌู
ูุน ุงูููุงุชุฑ ุงูู
ูุนููุฉ
- Confirmed (ุจุนุฏ ุฅุบูุงู ุงูุดู
ุนุฉ)
ุงูุชูุณูุฑ:
- ุชุฑุงูู
ุทุงูุฉ ูุจูุฑ ุฌุฏููุง
- ุงูุถุบุท ูุตู ูู
ุณุชูู ุญุฑุฌ
- ุงููุฌุงุฑ ุณุนุฑู ู
ุชููุน ุฎูุงู 1โ3 ุดู
ูุน
ููููุฉ ุงูุชุฏุงูู:
1. ุญุฏุฏ ุงุชุฌุงู ุงูุฌูุฏ:
โข ู
ูุฌุจ = ุชููุน ุตุนูุฏ
โข ุณุงูุจ = ุชููุน ูุจูุท
2. ุงูุชุธุฑ ุดู
ุนุฉ ุชุฃููุฏูุฉ:
โข ููุตุนูุฏ: ุดู
ุนุฉ ุตุงุนุฏุฉ ุชุบูู ููู ุงูุชุชุงุญูุง
โข ูููุจูุท: ุดู
ุนุฉ ูุงุจุทุฉ ุชุบูู ุชุญุช ุงูุชุชุงุญูุง
3. ุงูุฏุฎูู: ู
ุน ุงูุชุชุงุญ ุงูุดู
ุนุฉ ุงูุชุงููุฉ
4. ููู ุงูุฎุณุงุฑุฉ: ูุฑุงุก ุขุฎุฑ ูุงุน/ูู
ุฉ ู
ุญููุฉ
5. ุงููุฏู: ูุณุจุฉ ู
ุฎุงุทุฑุฉ/ุนุงุฆุฏ 1:2 ุนูู ุงูุฃูู
โ
ูุตุงุฆุญ ุงุญุชุฑุงููุฉ:
- ุฃูุถู ุงููุชุงุฆุฌ ุนูุฏ ุฏู
ุฌูุง ู
ุน ู
ุณุชููุงุช ุงูุฏุนู
/ุงูู
ูุงูู
ุฉ
- ุชุฌููุจ ุงูุฏุฎูู ุฅุฐุง ูุงู ุงูุฌูุฏ ูุฑูุจูุง ู
ู ุงูุตูุฑ (ยฑ5%)
- ุฒูุฏ ุญุฌู
ุงูู
ุฑูุฒ ุนูุฏ ุดุฏุฉ ุญูู > 30%
โ ๏ธ HIGH TENSION (ุงูุชูุชุฑ ุงูุนุงูู)
ุดุฑูุท ุงูุธููุฑ:
- 0.7 โค discharge_prob < 0.9
ุงูุชูุณูุฑ:
- ุงูุณูู ูู ุญุงูุฉ ุชุฑุงูู
ุทุงูุฉ
- ุงุญุชู
ุงู ุญุฑูุฉ ูููุฉ ูุฑูุจุฉุ ููู ููุณุช ููุฑูุฉ
- ูุฏ ูุณุชู
ุฑ ุงูุชุฑุงูู
ุฃู ูุญุฏุซ ุชูุฑูุบ
ููููุฉ ุงูุงุณุชูุงุฏุฉ:
- ุงูุงุณุชุนุฏุงุฏ: ุญุถูุฑ ุฃูุงู
ุฑ ู
ุนููุฉ ุนูุฏ ุงูุงุฎุชุฑุงูุงุช ุงูู
ุญุชู
ูุฉ
- ุงูู
ุฑุงูุจุฉ: ุฑุงูุจ ุงูุดู
ูุน ุงูุชุงููุฉ ุจุญุซูุง ุนู ุดู
ุนุฉ ุฏุงูุนุฉ
- ุงูุงูุชูุงุก: ูุง ุชุฏุฎู ูู ุฅุดุงุฑุฉ โ ุงุฎุชุฑ ุชูู ุงูุชู ุชุชูุงูู ู
ุน ุงูุงุชุฌุงู ุงูุนุงู
โ ุงุณุชุฑุงุชูุฌูุงุช ุงูุชุฏุงูู
๐ ุงุณุชุฑุงุชูุฌูุฉ 1: ุชุฏุงูู ุงูุชูุฑูุบ (ุงูุฃุณุงุณูุฉ)
ุงูู
ุจุฏุฃ: ุงูุฏุฎูู ุนูุฏ "DISCHARGE IMMINENT" ูู ุงุชุฌุงู ุงูุฌูุฏ
ุงูุฎุทูุงุช:
1. ุงูุชุธุฑ ุธููุฑ "โก DISCHARGE IMMINENT"
2. ุชุญูู ู
ู ุงุชุฌุงู ุงูุฌูุฏ (+/โ)
3. ุงูุชุธุฑ ุดู
ุนุฉ ุชุฃููุฏูุฉ ูู ุงุชุฌุงู ุงูุฌูุฏ
4. ุงุฏุฎู ู
ุน ุงูุชุชุงุญ ุงูุดู
ุนุฉ ุงูุชุงููุฉ
5. ููู ุงูุฎุณุงุฑุฉ ูุฑุงุก ุขุฎุฑ ูุงุน/ูู
ุฉ
6. ุงููุฏู: ูุณุจุฉ 1:2 ุฃู 1:3
ูุณุจุฉ ูุฌุงุญ ุนุงููุฉ ุฌุฏููุง ุนูุฏ ุงูุงูุชุฒุงู
ุจุดุฑูุท ุงูุชุฃููุฏ.
๐ ุงุณุชุฑุงุชูุฌูุฉ 2: ุชุชุจุน ุงูููู
ูุฉ
ุงูู
ุจุฏุฃ: ุงูุชุฏุงูู ู
ุน ุงููุทุจ ุงูู
ููู
ู (ุงููุฑุฉ ุงูุฃูุจุฑ ูุงูุฃูุซุฑ ุฅุถุงุกุฉ)
ุงูุฎุทูุงุช:
1. ุญุฏุฏ ุงููุทุจ ุงูู
ููู
ู (ุงูุฃูุจุฑ ุญุฌู
ุงู ูุงูุฃูุซุฑ ุฅุถุงุกุฉ)
2. ุชุฏุงูู ูู ุงุชุฌุงูู
3. ุงุญุฐุฑ ุนูุฏ ุชูุงุฑุจ ุงูุฃุญุฌุงู
(ุตุฑุงุน)
ู
ูุงุณุจุฉ ููุฅุทุงุฑุงุช ุงูุฒู
ููุฉ ุงูุฃุนูู (H1+).
๐ ุงุณุชุฑุงุชูุฌูุฉ 3: ุตูุฏ ุงูุงูุนูุงุณ
ุงูู
ุจุฏุฃ: ุงูุฏุฎูู ุนูุณ ุงูุงุชุฌุงู ุนูุฏ ุธุฑูู ู
ุนููุฉ
ุงูุดุฑูุท:
- ุดุฏุฉ ุญูู ุนุงููุฉ (>30%)
- ุฌูุฏ ู
ุชุทุฑู (>ยฑ40%)
- ุชุจุงุนุฏ ู
ุน ุงูุณุนุฑ (ู
ุซู: ูู
ุฉ ุณุนุฑูุฉ ุฌุฏูุฏุฉ ู
ุน ุชุฑุงุฌุน ุงูุฌูุฏ)
โ ๏ธ ุนุงููุฉ ุงูู
ุฎุงุทุฑุฉ โ ุงุณุชุฎุฏู
ุญุฌู
ู
ุฑูุฒ ุตุบูุฑ.
๐ ุงุณุชุฑุงุชูุฌูุฉ 4: ุงูุฏู
ุฌ ู
ุน ุงูุชุญููู ุงูููู
ุฃู
ุซูุฉ ุชุฃููุฏ ููู:
- ุงุฎุชุฑุงู ู
ูุงูู
ุฉ + ุชูุฑูุบ ุตุนูุฏู = ุฅุดุงุฑุฉ ุดุฑุงุก ู
ู
ุชุงุฒุฉ
- ูุณุฑ ุฏุนู
+ ุชูุฑูุบ ูุจูุทู = ุฅุดุงุฑุฉ ุจูุน ู
ู
ุชุงุฒุฉ
- ูู
ูุฐุฌ Head & Shoulders + ุฌูุฏ ุณุงูุจ ู
ุชุฒุงูุฏ = ุชุฃููุฏ ุงููู
ูุฐุฌ
- ุชุจุงุนุฏ RSI + ุดุฏุฉ ุญูู ุนุงููุฉ = ุงูุนูุงุณ ู
ุญุชู
ู
โ ุงูุชูุจููุงุช ุงูุฌุงูุฒุฉ
Bullish Discharge
- ุงูุดุฑุท: discharge_prob โฅ 0.9 + ุฌูุฏ ู
ูุฌุจ + ุฌู
ูุน ุงูููุงุชุฑ
- ุงูุฑุณุงูุฉ: "โก Bullish discharge"
- ุงูุงุณุชุฎุฏุงู
: ูุฑุตุฉ ุดุฑุงุก ุนุงููุฉ ุงูุงุญุชู
ุงููุฉ
Bearish Discharge
- ุงูุดุฑุท: discharge_prob โฅ 0.9 + ุฌูุฏ ุณุงูุจ + ุฌู
ูุน ุงูููุงุชุฑ
- ุงูุฑุณุงูุฉ: "โก Bearish discharge"
- ุงูุงุณุชุฎุฏุงู
: ูุฑุตุฉ ุจูุน ุนุงููุฉ ุงูุงุญุชู
ุงููุฉ
โ
ูุตูุญุฉ: ุงุณุชุฎุฏู
ูุฐู ุงูุชูุจููุงุช ู
ุน ุฅุนุฏุงุฏ "Once Per Bar" ูุชุฌูุจ ุงูุชูุฑุงุฑ.
โ ุงูู
ุฎุฑุฌุงุช ูู ูุงูุฐุฉ ุงูุจูุงูุงุช
Bias
- ุงูููู
: โ1 / 0 / +1
- ุงูุชูุณูุฑ: โ1 = ูุจูุทูุ 0 = ุญูุงุฏุ +1 = ุตุนูุฏู
- ุงูุงุณุชุฎุฏุงู
: ูุฏู
ุฌูุง ูู ุงุณุชุฑุงุชูุฌูุงุช ุขููุฉ
Discharge %
- ุงููุทุงู: 0โ100%
- ุงูุชูุณูุฑ: ุงุญุชู
ุงู ุงูุชูุฑูุบ
- ุงูุงุณุชุฎุฏุงู
: ู
ุฑุงูุจุฉ ุชุฏุฑูุฌ ุงูุชูุชุฑ (ู
ุซุงู: ู
ู 40% ุฅูู 85% ูู 5 ุดู
ูุน)
Field Strength
- ุงููุทุงู: 0โ100%
- ุงูุชูุณูุฑ: ุดุฏุฉ ุงูุตุฑุงุน
- ุงูุงุณุชุฎุฏุงู
: ุชุญุฏูุฏ "ูุงูุฐุฉ ุงููุฑุต" (25โ35% ู
ุซุงููุฉ ููุชูุฑูุบ)
Voltage
- ุงููุทุงู: โ100% ุฅูู +100%
- ุงูุชูุณูุฑ: ู
ูุฒุงู ุงูููู
- ุงูุงุณุชุฎุฏุงู
: ู
ุฑุงูุจุฉ ุงูุชุทุฑู (ุชุดุจุน ุดุฑุงุฆู/ุจูุนู ู
ุญุชู
ู)
โ ุงูุฅุนุฏุงุฏุงุช ุงูู
ุซูู ุญุณุจ ุฃุณููุจ ุงูุชุฏุงูู
ุงูู
ุถุงุฑุจุฉ (Scalping)
- ุงูุฅุทุงุฑ: 1Mโ5M
- Lookback: 10โ15
- Threshold: 0.5โ0.6
- Sensitivity: 1.2โ1.5
- ุงูููุงุชุฑ: Volume + Volatility
ุงูุชุฏุงูู ุงูููู
ู (Day Trading)
- ุงูุฅุทุงุฑ: 15Mโ1H
- Lookback: 20
- Threshold: 0.7
- Sensitivity: 1.0
- ุงูููุงุชุฑ: Volume + Volatility
ุงูุณูููุบ (Swing Trading)
- ุงูุฅุทุงุฑ: 4HโD1
- Lookback: 30โ50
- Threshold: 0.8
- Sensitivity: 0.8
- ุงูููุงุชุฑ: Volatility + Trend
ุงูุงุณุชุซู
ุงุฑ (Position Trading)
- ุงูุฅุทุงุฑ: D1โW1
- Lookback: 50โ100
- Threshold: 0.85โ0.95
- Sensitivity: 0.5โ0.8
- ุงูููุงุชุฑ: ุฌู
ูุน ุงูููุงุชุฑ
โ ูุตุงุฆุญ ููุงุณุชุฎุฏุงู
ุงูุฃู
ุซู
1. ุงุจุฏุฃ ุจุงูุฅุนุฏุงุฏุงุช ุงูุงูุชุฑุงุถูุฉ
ุฌุฑูุจู ุฃูููุง ูู
ุง ููุ ุซู
ุนุฏูู ุญุณุจ ุฃุณููุจู.
2. ุฑุงูุจ ุงูุชูุงูู ุจูู ุงูุนูุงุตุฑ
ุฃูุถู ุงูุฅุดุงุฑุงุช ุนูุฏู
ุง:
- ุงูุฌูุฏ ูุงุถุญ (>โ20%โ)
- ุดุฏุฉ ุงูุญูู ู
ุนุชุฏูุฉโุนุงููุฉ (15โ35%)
- ุงุญุชู
ุงู ุงูุชูุฑูุบ ู
ุฑุชูุน (>70%)
3. ุงุณุชุฎุฏู
ุฃุทุฑ ุฒู
ููุฉ ู
ุชุนุฏุฏุฉ
- ุงูุฅุทุงุฑ ุงูุฃุนูู: ุชุญุฏูุฏ ุงูุงุชุฌุงู ุงูุนุงู
- ุงูุฅุทุงุฑ ุงูุฃุฏูู: ุชูููุช ุงูุฏุฎูู
- ุชุฃูุฏ ู
ู ุชูุงูู ุงูุฅุดุงุฑุงุช ุจูู ุงูุฃุทุฑ
4. ุฏู
ุฌ ู
ุน ุฃุฏูุงุช ุฃุฎุฑู
- ู
ุณุชููุงุช ุงูุฏุนู
/ุงูู
ูุงูู
ุฉ
- ุฎุทูุท ุงูุงุชุฌุงู
- ุฃูู
ุงุท ุงูุดู
ูุน
- ู
ุคุดุฑุงุช ุงูุญุฌู
5. ุงุญุชุฑู
ุฅุฏุงุฑุฉ ุงูู
ุฎุงุทุฑุฉ
- ูุง ุชุฎุงุทุฑ ุจุฃูุซุฑ ู
ู 1โ2% ู
ู ุงูุญุณุงุจ
- ุงุณุชุฎุฏู
ุฏุงุฆู
ูุง ููู ุงูุฎุณุงุฑุฉ
- ูุง ุชุฏุฎู ูู ุงูุฅุดุงุฑุงุช โ ุงุฎุชุฑ ุงูุฃูุถู
โ ุชุญุฐูุฑุงุช ู
ูู
ุฉ
โ ๏ธ ููุณ ููุงุณุชุฎุฏุงู
ุงูู
ููุฑุฏ
ุงูู
ุคุดุฑ ุฃุฏุงุฉ ุชุญููู ู
ุณุงุนูุฏุฉ โ ูุง ุชุณุชุฎุฏู
ู ุจู
ุนุฒู ุนู ุงูุชุญููู ุงูููู ุฃู ุงูุฃุณุงุณู.
โ ๏ธ ูุง ูุชูุจุฃ ุจุงูู
ุณุชูุจู
ุงูุญุณุงุจุงุช ู
ุจููุฉ ุนูู ุงูุจูุงูุงุช ุงูุชุงุฑูุฎูุฉ โ ุงููุชุงุฆุฌ ููุณุช ู
ุถู
ููุฉ.
โ ๏ธ ุงูุฃุณูุงู ุชุฎุชูู
ูุฏ ุชุญุชุงุฌ ูุถุจุท ุงูุฅุนุฏุงุฏุงุช ููู ุณูู:
- ุงูุนู
ูุงุช: ุชุฑููุฒ ุนูู Volume Filter
- ุงูุฃุณูู
: ุฃุถู Trend Filter
- ุงููุฑูุจุชู: ุฎููุถ Threshold ูููููุง (ุฃูุซุฑ ุชูููุจูุง)
โ ๏ธ ุงูุฃุฎุจุงุฑ ูุงูุฃุญุฏุงุซ
ุงูู
ุคุดุฑ ูุง ูุฃุฎุฐ ูู ุงูุงุนุชุจุงุฑ ุงูุฃุฎุจุงุฑ ุงูู
ูุงุฌุฆุฉ โ ุชุฌููุจ ุงูุชุฏุงูู ูุจู/ุฃุซูุงุก ุงูุฃุฎุจุงุฑ ุงูุฑุฆูุณูุฉ.
โ ุงูู
ูุฒุงุช ุงููุฑูุฏุฉ
โ
ุฃูู ุชุทุจูู ููููุฑูู
ุบูุงุทูุณูุฉ ุนูู ุงูุฃุณูุงู
ูู
ูุฐุฌ ุฑูุงุถู ู
ุจุชูุฑ โ ููุณ ู
ุฌุฑุฏ ู
ุคุดุฑ ุนุงุฏู
โ
ูุดู ุงุณุชุจุงูู ููุงููุฌุงุฑุงุช ุงูุณุนุฑูุฉ
ูููุจูู ูุจู ุญุฏูุซ ุงูุญุฑูุฉ โ ูููุณ ุจุนุฏูุง
โ
ุชุตููุฉ ู
ุชุนุฏุฏุฉ ุงูุทุจูุงุช
4 ููุงุชุฑ ุฐููุฉ ุชููู ุงูุฅุดุงุฑุงุช ุงููุงุฐุจุฉ ุฅูู ุงูุญุฏ ุงูุฃุฏูู
โ
ุชููู ุฐูู ู
ุน ุงูุชููุจ
ูุถุจุท ุญุณุงุณูุชู ุชููุงุฆูููุง ุญุณุจ ุธุฑูู ุงูุณูู
โ
ุชู
ุซูู ุจุตุฑู ุซูุงุซู ุงูุฃุจุนุงุฏ ู
ุชุญุฑู
ูุฌุนู ุงููุฑุงุกุฉ ููุฑูุฉ โ ุญุชู ููู
ุจุชุฏุฆูู
โ
ู
ุฑููุฉ ุนุงููุฉ
ูุนู
ู ุนูู ุฌู
ูุน ุงูุฃุตูู: ุฃุณูู
ุ ุนู
ูุงุชุ ูุฑูุจุชูุ ุณูุน
โ
ุชูุจููุงุช ู
ุฏู
ุฌุฉ ุฌุงูุฒุฉ
ูุง ุญุงุฌุฉ ูุฅุนุฏุงุฏุงุช ู
ุนูุฏุฉ โ ุฌุงูุฒ ููุงุณุชุฎุฏุงู
ุงูููุฑู
โ ุฎุงุชู
ุฉ: ุนูุฏู
ุง ููุชูู ุงููู ุจุงูุนูู
Market Electromagnetic Field ููุณ ู
ุฌุฑุฏ ู
ุคุดุฑ โ ุจู ููุณูุฉ ุชุญููููุฉ ุฌุฏูุฏุฉ.
ูู ุงูุฌุณุฑ ุจูู:
- ุฏูุฉ ุงูููุฒูุงุก ูู ูุตู ุงูุฃูุธู
ุฉ ุงูุฏููุงู
ูููุฉ
- ุฐูุงุก ุงูุณูู ูู ุชูููุฏ ูุฑุต ุงูุชุฏุงูู
- ุนูู
ุงูููุณ ุงูุจุตุฑู ูู ุชุณููู ุงููุฑุงุกุฉ ุงูููุฑูุฉ
ุงููุชูุฌุฉ: ุฃุฏุงุฉ ูุง ุชููุฑุฃ โ ุจู ุชูุดุงูุฏุ ุชูุดุนุฑุ ูุชูุณุชุดุนุฑ.
ุนูุฏู
ุง ุชุฑู ุงููุฑุฉ ุงูุฎุถุฑุงุก ุชุชูุณุนุ ูุงูุชููุฌ ูุตูุฑูุ ูุงูุฌุฒูุฆุงุช ุชูุฏูุน ูููู
ูู โ ูุฃูุช ูุง ุชุฑู ุฃุฑูุงู
ูุงุ ุจู ุชุฑู ุทุงูุฉ ุงูุณูู ุชุชูููุณ.
โ ๏ธ ุฅุฎูุงุก ู
ุณุคูููุฉ:
ูุฐุง ุงูู
ุคุดุฑ ูุฃุบุฑุงุถ ุชุนููู
ูุฉ ูุชุญููููุฉ ููุท. ูุง ููู
ุซู ูุตูุญุฉ ู
ุงููุฉ ุฃู ุงุณุชุซู
ุงุฑูุฉ ุฃู ุชุฏุงูููุฉ. ุงุณุชุฎุฏู
ู ุจุงูุชุฒุงู
ู ู
ุน ุงุณุชุฑุงุชูุฌูุชู ุงูุฎุงุตุฉ ูุฅุฏุงุฑุฉ ุงูู
ุฎุงุทุฑ. ูุง ูุชุญู
ู TradingView ููุง ุงูู
ุทูุฑ ู
ุณุคูููุฉ ุฃู ูุฑุงุฑุงุช ู
ุงููุฉ ุฃู ุฎุณุงุฆุฑ.
Liquidity Void Zone Detector [PhenLabs]๐ Liquidity Void Zone Detector
Version: PineScriptโขv6
๐ Description
The Liquidity Void Zone Detector is a sophisticated technical indicator designed to identify and visualize areas where price moved with abnormally low volume or rapid momentum, creating "voids" in market liquidity. These zones represent areas where insufficient trading activity occurred during price movement, often acting as magnets for future price action as the market seeks to fill these gaps.
Built on PineScript v6, this indicator employs a dual-detection methodology that analyzes both volume depletion patterns and price movement intensity relative to ATR. The revolutionary 3D visualization system uses three-layer polyline rendering with adaptive transparency and vertical offsets, creating genuine depth perception where low liquidity zones visually recede and high liquidity zones protrude forward. This makes critical market structure immediately apparent without cluttering your chart.
๐ Points of Innovation
Dual detection algorithm combining volume threshold analysis and ATR-normalized price movement sensitivity for comprehensive void identification
Three-layer 3D visualization system with progressive transparency gradients (85%, 78%, 70%) and calculated vertical offsets for authentic depth perception
Intelligent state machine logic that tracks consecutive void bars and only renders zones meeting minimum qualification requirements
Dynamic strength scoring system (0-100 scale) that combines inverted volume ratios with movement intensity for accurate void characterization
Adaptive ATR-based spacing calculation that automatically adjusts 3D layering depth to match instrument volatility
Efficient memory management system supporting up to 100 simultaneous void visualizations with automatic array-based cleanup
๐ง Core Components
Volume Analysis Engine: Calculates rolling volume averages and compares current bar volume against dynamic thresholds to detect abnormally thin trading conditions
Price Movement Analyzer: Normalizes bar range against ATR to identify rapid price movements that indicate liquidity exhaustion regardless of instrument or timeframe
Void Tracking State Machine: Maintains persistent tracking of void start bars, price boundaries, consecutive bar counts, and cumulative strength across multiple bars
3D Polyline Renderer: Generates three-layer rectangular polylines with precise timestamp-to-bar index conversion and progressive offset calculations
Strength Calculation System: Combines volume component (inverted ratio capped at 100) with movement component (ATR intensity ร 30) for comprehensive void scoring
๐ฅ Key Features
Automatic Void Detection: Continuously scans price action for low volume conditions or rapid movements, triggering void tracking when thresholds are exceeded
Real-Time Visualization: Creates 3D rectangular zones spanning from void initiation to termination, with color-coded depth indicating liquidity type
Adjustable Sensitivity: Configure volume threshold multiplier (0.1-2.0x), price movement sensitivity (0.5-5.0x), and minimum qualifying bars (1-10) for customized detection
Dual Color Coding: Separate visual treatment for low liquidity voids (receding red) and high liquidity zones (protruding green) based on 50-point strength threshold
Optional Compact Labels: Toggle LV (Low Volume) or HV (High Volume) circular labels at void centers for quick identification without visual clutter
Lookback Period Control: Adjust analysis window from 5 to 100 bars to match your trading timeframe and market volatility characteristics
Memory-Efficient Design: Automatically manages polyline and label arrays, deleting oldest elements when user-defined maximum is reached
Data Window Integration: Plots void detection binary, current strength score, and average volume for detailed analysis in TradingView's data window
๐จ Visualization
Three-Layer Depth System: Each void is rendered as three stacked polylines with progressive transparency (85%, 78%, 70%) and calculated vertical offsets creating authentic 3D appearance
Directional Depth Perception: Low liquidity zones recede with back layer most transparent; high liquidity zones protrude with front layer most transparent for instant visual differentiation
Adaptive Offset Spacing: Vertical separation between layers calculated as ATR(14) ร 0.001, ensuring consistent 3D effect across different instruments and volatility regimes
Color Customization: Fully configurable base colors for both low liquidity zones (default: red with 80 transparency) and high liquidity zones (default: green with 80 transparency)
Minimal Chart Clutter: Closed polylines with matching line and fill colors create clean rectangular zones without unnecessary borders or visual noise
Background Highlight: Subtle yellow background (96% transparency) marks bars where void conditions are actively detected in real-time
Compact Labeling: Optional tiny circular labels with 60% transparent backgrounds positioned at void center points for quick reference
๐ Usage Guidelines
Detection Settings
Lookback Period: Default: 10 | Range: 5-100 | Number of bars analyzed for volume averaging and void detection. Lower values increase sensitivity to recent changes; higher values smooth detection across longer timeframes. Adjust based on your trading timeframe: short-term traders use 5-15, swing traders use 20-50, position traders use 50-100.
Volume Threshold: Default: 1.0 | Range: 0.1-2.0 (step 0.1) | Multiplier applied to average volume. Bars with volume below (average ร threshold) trigger void conditions. Lower values detect only extreme volume depletion; higher values capture more moderate low-volume situations. Start with 1.0 and decrease to 0.5-0.7 for stricter detection.
Price Movement Sensitivity: Default: 1.5 | Range: 0.5-5.0 (step 0.1) | Multiplier for ATR-normalized price movement detection. Values above this threshold indicate rapid price changes suggesting liquidity voids. Increase to 2.0-3.0 for volatile instruments; decrease to 0.8-1.2 for ranging or low-volatility conditions.
Minimum Void Bars: Default: 10 | Range: 1-10 | Minimum consecutive bars exhibiting void conditions required before visualization is created. Filters out brief anomalies and ensures only sustained voids are displayed. Use 1-3 for scalping, 5-10 for intraday trading, 10+ for swing trading to match your time horizon.
Visual Settings
Low Liquidity Color: Default: Red (80% transparent) | Base color for zones where volume depletion or rapid movement indicates thin liquidity. These zones recede visually (back layer most transparent). Choose colors that contrast with your chart theme for optimal visibility.
High Liquidity Color: Default: Green (80% transparent) | Base color for zones with relatively higher liquidity compared to void threshold. These zones protrude visually (front layer most transparent). Ensure clear differentiation from low liquidity color.
Show Void Labels: Default: True | Toggle display of compact LV/HV labels at void centers. Disable for cleaner charts when trading; enable for analysis and review to quickly identify void types across your chart.
Max Visible Voids: Default: 50 | Range: 10-100 | Maximum number of void visualizations kept on chart. Each void uses 3 polylines, so setting of 50 maintains 150 total polylines. Higher values preserve more history but may impact performance on lower-end systems.
โ
Best Use Cases
Gap Fill Trading: Identify unfilled liquidity voids that price frequently returns to, providing high-probability retest and reversal opportunities when price approaches these zones
Breakout Validation: Distinguish genuine breakouts through established liquidity from false breaks into void zones that lack sustainable volume support
Support/Resistance Confluence: Layer void detection over key horizontal levels to validate structural integrityโlevels within high liquidity zones are stronger than those in voids
Trend Continuation: Monitor for new void formation in trend direction as potential continuation zones where price may accelerate due to reduced resistance
Range Trading: Identify void zones within consolidation ranges that price tends to traverse quickly, helping to avoid getting caught in rapid moves through thin areas
Entry Timing: Wait for price to reach void boundaries rather than entering mid-void, as voids tend to be traversed quickly with limited profit-taking opportunities
โ ๏ธ Limitations
Historical Pattern Indicator: Identifies past liquidity voids but cannot predict whether price will return to fill them or when filling might occur
No Volume on Forex: Indicator uses tick volume for forex pairs, which approximates but doesn't represent true trading volume, potentially affecting detection accuracy
Lagging Confirmation: Requires minimum consecutive bars (default 10) before void is visualized, meaning detection occurs after void formation begins
Trending Market Behavior: Strong trends driven by fundamental catalysts may create voids that remain unfilled for extended periods or permanently
Timeframe Dependency: Detection sensitivity varies significantly across timeframes; settings optimized for one timeframe may not perform well on others
No Directional Bias: Indicator identifies liquidity characteristics but provides no predictive signal for price direction after void detection
Performance Considerations: Higher max visible void settings combined with small minimum void bars can generate numerous visualizations impacting chart rendering speed
๐ก What Makes This Unique
Industry-First 3D Visualization: Unlike flat volume or liquidity indicators, the three-layer rendering with directional depth perception provides instant visual hierarchy of liquidity quality
Dual-Mode Detection: Combines both volume-based and movement-based detection methodologies, capturing voids that single-approach indicators miss
Intelligent Qualification System: State machine logic prevents premature visualization by requiring sustained void conditions, reducing false signals and chart clutter
ATR-Normalized Analysis: All detection thresholds adapt to instrument volatility, ensuring consistent performance across stocks, forex, crypto, and futures without constant recalibration
Transparency-Based Depth: Uses progressive transparency gradients rather than colors or patterns to create depth, maintaining visual clarity while conveying information hierarchy
Comprehensive Strength Metrics: 0-100 void strength calculation considers both the degree of volume depletion and the magnitude of price movement for nuanced zone characterization
๐ฌ How It Works
Phase 1: Real-Time Detection
On each bar close, the indicator calculates average volume over the lookback period and compares current bar volume against the volume threshold multiplier
Simultaneously measures current bar's high-low range and normalizes it against ATR, comparing the result to price movement sensitivity parameter
If either volume falls below threshold OR movement exceeds sensitivity threshold, the bar is flagged as exhibiting void characteristics
Phase 2: Void Tracking & Qualification
When void conditions first appear, state machine initializes tracking variables: start bar index, initial top/bottom prices, consecutive bar counter, and cumulative strength accumulator
Each subsequent bar with void conditions extends the tracking, updating price boundaries to envelope all bars and accumulating strength scores
When void conditions cease, system checks if consecutive bar count meets minimum threshold; if yes, proceeds to visualization; if no, discards the tracking and resets
Phase 3: 3D Visualization Construction
Calculates average void strength by dividing cumulative strength by number of bars, then determines if void is low liquidity (>50 strength) or high liquidity (โค50 strength)
Generates three polyline layers spanning from start bar to end bar and from top price to bottom price, each with calculated vertical offset based on ATR
Applies progressive transparency (85%, 78%, 70%) with layer ordering creating recession effect for low liquidity zones and protrusion effect for high liquidity zones
Creates optional center label and pushes all visual elements into arrays for memory management
Phase 4: Memory Management & Display
Continuously monitors polyline array size (each void creates 3 polylines); when total exceeds max visible voids ร 3, deletes oldest polylines via array.shift()
Similarly manages label array, removing oldest labels when count exceeds maximum to prevent memory accumulation over extended chart history
Plots diagnostic data to TradingViewโs data window (void detection binary, current strength, average volume) for detailed analysis without cluttering main chart
๐ก Note:
This indicator is designed to enhance your market structure analysis by revealing liquidity characteristics that arenโt visible through standard price and volume displays. For best results, combine void detection with your existing support/resistance analysis, trend identification, and risk management framework. Liquidity voids are descriptive of past market behavior and should inform positioning decisions rather than serve as standalone entry/exit signals. Experiment with detection parameters across different timeframes to find settings that align with your trading style and instrument characteristics.
Keltner Channels BandsKeltner Channels Bands - ใใใชใใทใฅ็จ่ชฌๆๆ
ๆฅๆฌ่ช็
ใฟใคใใซ
Keltner Channels Bands (Multi-Timeframe)
่ชฌๆๆ
ๆฆ่ฆ
ใทใณใใซใง่ฆ่ชๆงใฎ้ซใใฑใซใใใผใใฃใใซใคใณใธใฑใผใฟใผใงใใใใซใใฟใคใ ใใฌใผใ ๆฉ่ฝใๆญ่ผใใใฉใฎๆ้่ถณใงใไธไฝ่ถณใฎใฑใซใใใผใใฃใใซใ่กจ็คบใงใใพใใ
็นๅพด
ใฐใฌใผใซใฉใผใงใใฃใผใใ่ฆใใใไฟๆ
ใใซใใฟใคใ ใใฌใผใ ๅฏพๅฟ๏ผใใใฉใซใ: 1ๆ้่ถณ๏ผ
4ๆ้่ถณไปฅไธใง่ชๅ้่กจ็คบๆฉ่ฝ๏ผใใฃใผใใฎ่ฆใใใใ็ถญๆ๏ผ
EMAใพใใฏSMAใฎ้ธๆใๅฏ่ฝ
ATRๅ็ใจใใณใๅน
ใ่ช็ฑใซใซในใฟใใคใบ
ใใฌใผใใณใณใปใใ
ใฑใซใใใผใใฃใใซใฏใไพกๆ ผใฎใใฉใใฃใชใใฃใซๅบใฅใใใใฌใณใ่ฟฝๅพๅใคใณใธใฑใผใฟใผใงใใ
ๅบๆฌ็ใชไฝฟใๆน:
ใใฌใณใๅคๅฎ: ไพกๆ ผใใใณใใฎไธ้จใงๆจ็งปใใฆใใๅ ดๅใฏไธๆใใฌใณใใไธ้จใงๆจ็งปใใฆใใๅ ดๅใฏไธ้ใใฌใณใ
ใจใณใใชใผ: ไพกๆ ผใใใณใๅคใซๅบใๅพใใใณใๅ
ใซๆปใใฟใคใใณใฐใงใใฌใณใๆนๅใธใจใณใใชใผ
ใจใฐใธใใ: ไพกๆ ผใไธญๅฟ็ท๏ผMA๏ผใซๅฐ้ใใพใใฏๅๅฏพๅดใฎใใณใใซๆฅ่ฟใใๆ
ใใฌใคใฏใขใฆใ: ใใณใใๅขใใใ็ช็ ดใใๅ ดๅใๆฐใใชใใฌใณใใฎๅงใพใใ็คบๅ
ๆจๅฅจ่จญๅฎ:
ในใคใณใฐใใฌใผใ: Length 20, Multiplier 2.2, 1ๆ้่ถณใพใใฏ4ๆ้่ถณ
ใใคใใฌใผใ: Length 20, Multiplier 2.0, 5ๅ่ถณใพใใฏ15ๅ่ถณใง1ๆ้่ถณใ่กจ็คบ
ๆณจๆไบ้
ใใฎใคใณใธใฑใผใฟใผใฏๅ็ฌใงใฎไฝฟ็จใงใฏใชใใไปใฎใใฏใใซใซๆๆจใใใฉใคในใขใฏใทใงใณใจ็ตใฟๅใใใฆไฝฟ็จใใใใจใๆจๅฅจใใพใใ
English Version
Title
Keltner Channels Bands (Multi-Timeframe)
Description
Overview
A simple and visually clean Keltner Channels indicator with multi-timeframe capabilities. Display higher timeframe Keltner Channels on any chart timeframe.
Features
Clean gray color scheme for better chart visibility
Multi-timeframe support (Default: 1-hour)
Auto-hide on 4H+ timeframes to maintain chart clarity
Choice between EMA or SMA
Customizable ATR multiplier and band width
Trading Concept
Keltner Channels is a volatility-based trend-following indicator that helps traders identify trend direction and potential entry/exit points.
Basic Usage:
Trend Identification: Price staying near upper band indicates uptrend; near lower band indicates downtrend
Entry Signals: Enter in trend direction when price returns inside the bands after moving outside
Exit Signals: Consider exits when price reaches the center line (MA) or approaches the opposite band
Breakout Trading: Strong momentum breaks through the bands may signal the start of a new trend
Recommended Settings:
Swing Trading: Length 20, Multiplier 2.2, 1H or 4H timeframe
Day Trading: Length 20, Multiplier 2.0, Display 1H channels on 5M or 15M charts
Disclaimer
This indicator should not be used alone. Combine it with other technical indicators and price action analysis for better trading decisions.
Smart Trend Signal with Bands [wjdtks255]Indicator Description for TradingView
Title: Adaptive Trend Kernel
Description:
The "Adaptive Trend Kernel " is a versatile trend-following and volatility indicator designed to help traders identify dynamic market trends, potential reversals, and price extremes within a channel. Built upon a customized linear regression model, this indicator provides clear visual cues to enhance your trading decisions.
Key Features:
Regression Line: A central dynamic line representing the core trend direction, calculated based on a user-defined "Regression Length."
Regression Bands: Standard deviation-based bands plotted around the Regression Line, which act like a dynamic channel. These bands expand and contract with market volatility, indicating potential overbought/oversold conditions relative to the trend.
Trend Reversal Signals: Distinct "Up" (green triangle up) and "Down" (red triangle down) signals are generated when the price (close) crosses over or under the Regression Line. These signals suggest potential shifts in the short-term trend direction.
Visual Customization: Highly flexible input options for adjusting line colors, band colors, line width, and panel opacity. Users can toggle the visibility of bands and trend labels to suit their chart preferences.
Panel Label: A subtle "Regression" label is dynamically positioned, offering clear context without cluttering the main chart.
How it Works: The indicator calculates a linear regression line as the adaptive center of the price movement. Standard deviation is then used to create upper and lower bands, encapsulating typical price fluctuations. Signals are fired when price breaks out of the regression line, suggesting a momentum shift in line with the established trend or a potential reversal.
Trading Methods & Strategies
Here are some trading strategies you can apply using the "Adaptive Trend Kernel " indicator:
Trend-Following with Confirmation:
Long Entry: Look for an "Up" signal (green triangle up) when the price is above the Regression Line, especially after a brief retracement towards the line. This confirms that the uptrend is likely resuming.
Short Entry: Look for a "Down" signal (red triangle down) when the price is below the Regression Line, especially after a brief rally towards the line. This confirms that the downtrend is likely resuming.
Exit Strategy: Consider exiting if an opposite signal appears, or if the price closes outside the opposite band, indicating potential overextension or reversal.
Reversal / Counter-Trend Play:
Long Entry (Aggressive): When the price approaches or briefly dips below the Lower Regression Band and then generates an "Up" signal (green triangle up). This could indicate a potential bounce from an oversold condition relative to the trend.
Short Entry (Aggressive): When the price approaches or briefly moves above the Upper Regression Band and then generates a "Down" signal (red triangle down). This could indicate a potential pullback from an overbought condition relative to the trend.
Confirmation: This strategy works best when combined with other reversal confirmation patterns (e.g., bullish/bearish engulfing candlesticks) or divergences in other momentum indicators (like RSI).
Volatility Breakout:
Entry (Long): After a period of low volatility where the Regression Bands are narrow, observe if the price decisively breaks above the Upper Regression Band and an "Up" signal appears. This suggests a strong bullish momentum breakout.
Entry (Short): After a period of low volatility where the Regression Bands are narrow, observe if the price decisively breaks below the Lower Regression Band and a "Down" signal appears. This suggests a strong bearish momentum breakdown.
Management: Volatility breakouts can be swift; use appropriate risk management and profit-taking strategies.
Important Considerations:
Risk Management: Always apply proper stop-loss and take-profit levels. No indicator is infallible.
Timeframe Sensitivity: Adjust the "Regression Length" and "Band Multiplier" according to the asset and timeframe you are trading. Shorter lengths might suit scalping, while longer lengths are better for swing trading.
Confirmation with Other Tools: For higher conviction trades, use this indicator in conjunction with other technical analysis tools such like volume, MACD, or RSI on an oscillator pane.
Backtesting: Always backtest any strategy on historical data to understand its performance characteristics before live trading.
Luxy Sector & Industry RS AnalyzerEver wonder why some stocks soar while others in the same sector barely move? Or why your perfectly timed entry still loses money? Possibly the answer can be found in Relative Strength.
The Luxy Sector & Industry RS Analyzer solves a critical problem that most traders overlook: picking strong stocks in strong sectors AND strong industries . It's not enough for a stock to go up - you want stocks that are crushing their competition at both the sector AND industry level. This indicator does the heavy lifting by automatically comparing your stock against its sector ETF, industry ETF, the broader market, sector leader, and industry leader, giving you a complete multi-level picture of relative performance.
What makes this different?
- Automatic sector AND industry detection - no manual setup required
- Multi-level hierarchy analysis: Market โ Sector โ Industry โ Stock
- Multi-timeframe analysis (1 month to 1 year) in one glance
- Industry ETF mapping (30+ industries covered)
- Clear 0-100 scoring system with letter grades (A+ to F)
- Works on stocks, crypto, forex, and commodities
- Real-time updates with anti-repaint protection
Think of it as your performance dashboard - instantly showing you if you're trading a champion or a laggard at every level of the market hierarchy.
METHODOLOGY & ATTRIBUTION
This indicator is based on classical Relative Strength (RS) analysis principles from technical analysis. RS methodology compares an asset's price performance against a benchmark to identify relative outperformance or underperformance. This concept has been used by professional traders and institutions for decades.
Key Concepts Used:
Relative Strength (RS) - Classical technical analysis concept measuring comparative performance
Multi-Level Hierarchy Analysis - Market โ Sector โ Industry โ Stock comparison
Sector Rotation Analysis - Identifying which sectors are leading or lagging the market
Industry Rotation Analysis - Identifying which industries are leading within their sectors
Multi-period Performance Analysis - Evaluating strength across multiple timeframes
Beta Calculation - Standard statistical measure of volatility relative to a benchmark
DISCLAIMER: This indicator is for educational and informational purposes only. It should not be considered financial advice or a recommendation to buy or sell. Past performance does not guarantee future results. Trading involves risk and may not be suitable for all investors. Always do your own research and consult with a financial advisor before making investment decisions.
with all rows visible - capture when stock has strong RS score (70+) so users can see what a "good" setup looks like]
WHAT THE INDICATOR SHOWS
1. AUTOMATIC ASSET TYPE DETECTION
The indicator automatically identifies what you're analyzing and adjusts accordingly:
Stocks - Compares to sector ETF (XLK, XLF, XLV, etc.) and SPY
Crypto - Compares to Total Crypto Market Cap and Bitcoin
Forex - Compares to relevant currency index (DXY, EXY, etc.)
Commodities - Compares to Gold (GLD) as benchmark
Indices - Compares to broader market indices
How it works: The indicator reads your chart's asset type and ticker, then automatically maps it to the correct sector or benchmark. For stocks, it uses intelligent sector detection (looking at the sector field) to match you with the right sector ETF. For example:
- Technology stocks get compared to XLK (Technology Select Sector SPDR)
- Financial stocks get compared to XLF (Financial Select Sector SPDR)
- Healthcare stocks get compared to XLV (Health Care Select Sector SPDR)
This happens instantly when you add the indicator to any chart - no configuration needed.
2. SECTOR & MARKET BENCHMARKS
What is a Sector ETF?
A sector ETF is an exchange-traded fund that tracks a specific industry group. For example, XLK contains all major technology companies. By comparing your stock to its sector ETF, you can see if your stock is outperforming or underperforming its peers.
The indicator shows three key comparison points:
Stock vs Sector (Benchmark)
This tells you how your stock performs compared to companies in the same industry. Positive numbers mean your stock is beating the sector average. Negative numbers mean it's lagging behind.
Stock vs Market (SPY)
This shows performance against the broader S&P 500 index. This is important because even if a stock beats its sector, the entire sector might be weak. You want stocks that beat both their sector AND the market.
Sector vs Market
This reveals "sector rotation" - whether money is flowing into or out of this sector. When this number is positive, the whole sector is hot and leading the market. This is powerful because strong sectors tend to lift all boats, making it easier to find winners.
3. MULTI-PERIOD PERFORMANCE ANALYSIS
The indicator calculates performance across four timeframes simultaneously:
1 Month (1M) - Recent short-term momentum
3 Months (3M) - Medium-term trend strength
6 Months (6M) - Longer-term positioning
1 Year (1Y) - Full-cycle performance view
Why multiple periods matter:
A stock might look great over 1 month but terrible over 6 months - that's a red flag. The best stocks show consistent strength across all timeframes . When you see positive RS (Relative Strength) values across all four periods, you've found a stock with sustained outperformance.
Each row in the table shows:
- Raw performance percentage for that period
- RS value (the difference compared to benchmark)
- Color coding: Green for positive, red for negative, white for neutral
4. SECTOR LEADER COMPARISON
The indicator automatically identifies and compares your stock to the sector leader - the dominant stock in that industry.
Sector leaders by industry:
Technology: Apple (AAPL)
Healthcare: UnitedHealth (UNH)
Financial: JPMorgan Chase (JPM)
Energy: ExxonMobil (XOM)
Consumer Discretionary: Amazon (AMZN)
Consumer Staples: Walmart (WMT)
And more...
Why this matters:
Comparing to the leader shows you if you're trading a champion or a follower. If your stock consistently beats the sector leader, you've found something special. If it's lagging the leader, you might want to trade the leader instead.
Optional Custom Leader:
You can override the automatic leader and compare to any stock you choose. This is useful if you want to benchmark against a specific competitor or reference stock.
NEW! INDUSTRY ANALYSIS (STOCKS ONLY)
The indicator now provides multi-level analysis by automatically detecting and comparing your stock to its specific industry , not just the broad sector.
Why Industry matters:
Technology sector (XLK) contains many different industries: Software, Semiconductors, Hardware, etc. A software stock might beat the broad tech sector but lag behind other software companies. Industry analysis provides this granular view.
Industry ETF Mapping (30+ industries):
Software/Applications: IGV (iShares Software ETF)
Semiconductors: SMH (VanEck Semiconductor ETF)
Biotech: IBB (iShares Biotechnology ETF)
Pharmaceuticals: XPH (SPDR Pharmaceuticals ETF)
Banks: KBE (SPDR S&P Bank ETF)
Regional Banks: KRE (SPDR Regional Banking ETF)
Oil & Gas Exploration: XOP (SPDR Oil & Gas Exploration ETF)
Homebuilders: XHB (SPDR Homebuilders ETF)
Retail: XRT (SPDR S&P Retail ETF)
Aerospace & Defense: ITA (iShares U.S. Aerospace & Defense ETF)
And many more...
Industry Leader Mapping:
The indicator also identifies the leader within each industry:
Software: Microsoft (MSFT)
Semiconductors: NVIDIA (NVDA)
Biotech: Amgen (AMGN)
Pharmaceuticals: Eli Lilly (LLY)
Banks: JPMorgan (JPM)
Oil Exploration: ConocoPhillips (COP)
And more...
New Table Rows for Stocks:
Industry ETF Performance - How the specific industry performed (green background)
Industry Leader Performance - How the top stock in the industry performed
vs Industry RS - Your stock's outperformance vs its industry ETF
Industry vs Sector RS - Is this industry hot or cold within its sector?
vs Industry Leader RS - Your stock's performance vs the industry's best
Why this is powerful:
A stock that beats both its sector AND its industry is showing strength at every level. This indicates true relative strength, not just riding sector-wide momentum.
Optional Custom Industry:
You can override automatic detection for both Industry ETF and Industry Leader in settings.
5. RS SCORE & GRADING SYSTEM (0-100)
The heart of the indicator is the RS Score - a weighted calculation that distills all the performance data into one clear number from 0 to 100.
How the score is calculated:
FOR STOCKS (with Industry data):
The indicator splits the weight between Sector (60%) and Industry (40%):
SECTOR RS (60% of total weight):
1 Month RS: 24% weight (40% ร 0.6)
3 Month RS: 18% weight (30% ร 0.6)
6 Month RS: 12% weight (20% ร 0.6)
1 Year RS: 6% weight (10% ร 0.6)
INDUSTRY RS (40% of total weight):
1 Month RS: 16% weight (40% ร 0.4)
3 Month RS: 12% weight (30% ร 0.4)
6 Month RS: 8% weight (20% ร 0.4)
1 Year RS: 4% weight (10% ร 0.4)
FOR OTHER ASSETS (Crypto, Forex, Commodities):
Uses full 100% weight on benchmark:
1 Month RS: 40% weight
3 Month RS: 30% weight
6 Month RS: 20% weight
1 Year RS: 10% weight
It starts at 50 (neutral) and adds or subtracts points based on your asset's relative strength in each period.
Bonus points:
+5 points if the sector is outperforming the market (sector rotation is bullish)
+5 points if the industry is outperforming its sector (hot industry) - STOCKS ONLY
+5 points if RS momentum is improving (getting stronger over time)
-5 points if RS momentum is declining (getting weaker)
The final score is capped between 0-100.
Letter Grade System:
90-100: A+ - Elite performer, crushing the sector
85-89: A - Excellent, strong outperformer
80-84: A- - Very good, above average
75-79: B+ - Good, solid performer
70-74: B - Above average, decent strength
65-69: B- - Slightly above average
60-64: C+ - Average, neutral strength
55-59: C - Below average
50-54: C- - Weak, slight underperformance
45-49: D+ - Concerning weakness
40-44: D - Poor, significant underperformance
0-39: F - Failing, avoid this stock
What scores mean for trading:
- RS Score above 70: Strong stocks worth considering for long positions
- RS Score 50-70: Average stocks, better opportunities elsewhere
- RS Score below 50: Weak stocks, avoid or consider for shorts
6. CONSISTENCY SCORE
This metric shows what percentage of time periods show positive RS .
For STOCKS (with Industry data):
Counts both Sector RS periods AND Industry RS periods (up to 8 total periods):
- If a stock beats both sector and industry in all 4 periods each: Consistency = 100% (8/8)
- If it beats in 6 out of 8 total periods: Consistency = 75%
- If it beats in 4 out of 8 total periods: Consistency = 50%
For OTHER ASSETS:
Counts benchmark periods only (4 total):
- If it beats benchmark in all 4 periods (1M, 3M, 6M, 1Y): Consistency = 100%
- If it beats in 3 out of 4 periods: Consistency = 75%
- If it beats in 2 out of 4 periods: Consistency = 50%
Why consistency matters:
A high RS Score with low consistency might indicate a recent spike that could fade. The best stocks show both high RS Score AND high consistency - they're strong now AND have been strong historically at both the sector AND industry level.
Look for stocks with:
Consistency above 75%: Very reliable strength across all levels
Consistency 50-75%: Decent but check other metrics
Consistency below 50%: Weak or erratic, proceed with caution
7. BETA CALCULATION (Volatility Measure)
Beta measures how much more volatile your stock is compared to its sector.
Beta > 1.2 : High volatility - stock moves more aggressively than sector (marked as "High")
Beta 0.8-1.2 : Normal volatility - moves roughly in line with sector
Beta < 0.8 : Low volatility - stock is more stable than sector (marked as "Low")
Formula used:
Beta = Correlation(Stock, Sector) ร (Standard Deviation of Stock / Standard Deviation of Sector)
This uses a 20-period calculation for reliability.
How to use Beta:
- High Beta stocks offer bigger gains but also bigger risks - good for aggressive traders
- Low Beta stocks are more defensive - good for conservative positions
- Match Beta to your risk tolerance and strategy
8. DAYS ABOVE/BELOW SECTOR
This tracks consecutive periods (bars) where your stock outperforms or underperforms its sector.
Days Above Sector:
Counts how many bars in a row your stock has beaten the sector.
10+ days: Strong sustained strength (shown in bright green)
5-9 days: Building momentum (shown in yellow)
1-4 days: Early strength (shown in white)
0 days: Not currently outperforming
Days Below Sector:
Counts how many bars in a row your stock has lagged the sector.
10+ days: Sustained weakness (shown in bright red)
5-9 days: Losing momentum (shown in orange)
1-4 days: Minor weakness (shown in white)
0 days: Not underperforming (this is good!)
Why this matters:
Long streaks show trend persistence. A stock with 15+ days above sector is riding strong momentum. A stock with 15+ days below sector is in a sustained downtrend relative to peers.
9. PRICE VS 52-WEEK HIGH
Shows where current price sits relative to its 52-week high (or equivalent for your timeframe).
95%+ (green) : Stock is near all-time highs - strong positioning
80-94% (yellow) : Stock is in a pullback but still relatively strong
Below 80% : Stock has pulled back significantly from highs
Why this matters:
The strongest stocks stay near their highs. When you see a stock with high RS Score AND price near 52W high, you've found a stock with institutional support and strong buying pressure.
10. RELATIVE VOLUME
Compares current volume to the 20-period average volume.
1.5x+ (green) : High volume - significant interest and participation
Around 1.0x : Average volume - normal trading activity
Below 1.0x : Low volume - less interest or inactive period
Why volume matters:
High relative volume confirms price moves. When a stock makes a strong move on 2x or 3x normal volume, it's more likely to sustain. Low volume moves are often just noise.
11. AVERAGE RS STRENGTH
This calculates the average absolute value of all RS readings across the four timeframes.
It shows the magnitude of divergence from the sector, regardless of direction. A high number means the stock moves very differently from its sector (could be much stronger or much weaker). A low number means it tracks closely with the sector.
High Average RS: Stock has strong character, moves independently
Low Average RS: Stock follows sector closely, lacks individual strength
12. SECTOR ROTATION SIGNAL
This indicator automatically detects when a sector is experiencing bullish rotation - meaning money is flowing into the sector and it's outperforming the broader market.
Condition for bullish rotation:
Sector must be beating SPY (market) in both 1-month AND 3-month periods.
Why this matters:
Stocks in hot sectors tend to perform better because they have tailwinds from sector-wide buying. When sector rotation is bullish and your stock has a high RS Score, you've found an ideal setup.
The indicator adds +5 bonus points to the RS Score when sector rotation is bullish.
13. MOMENTUM DETECTION
The indicator compares 1-month RS to 3-month RS to detect if momentum is improving or declining.
RS Momentum Improving: 1M RS is better than 3M RS - stock is getting stronger (adds +5 to score)
RS Momentum Declining: 1M RS is worse than 3M RS - stock is getting weaker (subtracts -5 from score)
Why momentum matters:
You want to catch stocks as momentum is building, not after it's already peaked. Improving momentum suggests the strength is accelerating, not fading.
14. OVERALL ASSESSMENT & RECOMMENDATION
The indicator provides two quick summary rows:
Overall Rating:
Based on grade and RS Score, you get an instant quality rating:
Strong Leader (A/A+) - Top tier stock, crushing it
Above Average (A-/B+) - Solid performer, better than most
Average (B/B-) - Middle of the pack
Below Average (C/C+) - Struggling, watch carefully
Underperformer (D/F) - Weak stock, underperforming badly
Trading Signal:
Combines multiple factors to give setup quality:
STRONG BUY SETUP - RS Score 70+, Consistency 75+, AND sector rotation bullish. This is the perfect storm - strong stock, consistent strength, hot sector.
BULLISH - RS Score 60+, Consistency 50+. Good quality stock worth considering.
NEUTRAL - RS Score 50+. Okay but not exciting, better opportunities exist.
WEAK - RS Score 40-49. Below average, risky.
AVOID - RS Score below 40. Stay away, too weak.
IMPORTANT: These are educational signals only, not financial advice. Always do your own analysis and risk management.
KEY FEATURES
1. AUTOMATIC EVERYTHING
- Auto-detects asset type (stock, crypto, forex, commodity, index)
- Auto-maps stocks to correct sector ETF (11 sectors covered)
- Auto-maps stocks to correct industry ETF (30+ industries covered)
- Auto-identifies sector leader AND industry leader
- Auto-selects appropriate market benchmark
- Zero configuration required - just add to chart
2. MULTI-ASSET SUPPORT
Works on all asset classes:
US Stocks - Compares to sector ETFs (XLK, XLF, XLV, etc.)
Crypto - Compares to Total Crypto Market Cap
Forex - Compares to currency indices (DXY, EXY, etc.)
Commodities - Compares to Gold (GLD)
Indices - Compares to broader market benchmarks
3. FLEXIBLE DISPLAY
9 table positions (top/middle/bottom, left/center/right)
4 size options (tiny, small, normal, large)
Show/hide table completely
Real-time indicator toggle
4. TIMEFRAME FLEXIBILITY
Choose your analysis timeframe:
Chart Timeframe (default) - Uses whatever timeframe your chart is on
Fixed: 1 Hour, 4 Hours, Daily, Weekly - Forces calculations to specific timeframe
This means you can be on a 5-minute chart but analyze RS on Daily timeframe if you prefer.
5. RS SCORE FILTERING
Set a minimum RS Score threshold to only see strong stocks:
Set to 0 - Shows all stocks
Set to 70 - Only displays stocks with RS Score 70+ (strong stocks only)
Warning message displays if stock doesn't meet threshold
Perfect for screening - quickly scan multiple charts and the indicator only shows tables for stocks that pass your quality filter.
6. CUSTOM LEADER COMPARISON
Override automatic leader detection:
Compare to any ticker you choose
Benchmark against specific competitors
Use your own reference stocks
7. COMPREHENSIVE TOOLTIPS
Every input parameter and every table row has detailed tooltips explaining:
What the metric measures
How to interpret the values
What thresholds indicate strength/weakness
Why it matters for trading
Hover over any element to learn - it's like having a trading coach built in.
8. SMART ALERTS
Built-in alert system for key events:
Divergence Alerts:
Get notified when your stock diverges significantly from its sector.
Bullish Divergence: Stock beating sector by threshold percentage
Bearish Divergence: Stock losing to sector by threshold percentage
Set your threshold (default 5%) - this determines how big a divergence triggers the alert.
RS Score Alerts:
Get notified when RS Score crosses your threshold:
Crossed Above: RS Score went from below to above your threshold (bullish)
Crossed Below: RS Score dropped from above to below threshold (bearish)
Set your threshold (default 70) to focus on strong stocks.
Sector Rotation Alert:
Fires when sector shows bullish rotation (outperforming market).
HOW TO USE THE INDICATOR
FOR SWING TRADERS:
1. Add indicator to your watchlist stocks
2. Look for RS Score 70+ with Consistency 75%+
3. Check if sector rotation is bullish (bonus!)
4. Verify price is near 52W high (95%+)
5. Wait for entry setup on your chart
6. Use stop loss below key support
Example Setup:
Stock shows:
- RS Score: 82 (Grade: A-)
- Consistency: 100% (strong across all periods)
- Sector Rotation: Bullish
- Price vs 52W High: 96%
- Days Above Sector: 12 days
- Relative Volume: 1.8x
This is a textbook strong stock in a hot sector near highs - ideal for swing long.
FOR POSITION TRADERS:
1. Focus on 6-month and 1-year RS values
2. Look for sustained outperformance (Consistency 75%+)
3. Prefer lower Beta stocks (less volatility)
4. Check Days Above Sector for trend persistence
5. Monitor RS Score monthly, exit if drops below 60
FOR ACTIVE TRADERS:
1. Use on intraday timeframes (1H or 4H)
2. Set RS Score filter to 60+ for quick screening
3. Enable Divergence Alerts
4. Watch for momentum improving signal
5. Higher Beta stocks offer more movement
FOR SHORT SELLERS:
1. Look for RS Score below 40 (Grade: D or F)
2. Check for declining momentum
3. Verify Days Below Sector is increasing (10+)
4. Sector rotation should be bearish
5. Price should be well off 52W high
WHAT MAKES A PERFECT SETUP:
The holy grail combination:
RS Score: 75+ (A- or better)
Consistency: 80%+ (strong across time - beats sector AND industry)
Sector Rotation: Bullish (hot sector)
Industry vs Sector: Positive (hot industry within sector)
Days Above Sector: 10+ (sustained strength)
Momentum: Improving (getting stronger)
Price vs 52W High: 90%+ (near highs)
Relative Volume: 1.5x+ (volume confirmation)
When you find this combination, you've located a stock with every advantage in its favor - strong at the stock level, industry level, AND sector level. That's multi-level confirmation of relative strength.
IMPORTANT NOTES
Data Reliability:
All calculations use lookahead=off for anti-repaint protection
Historical values will never change
Real-time indicator toggle only affects the visual clock icon, not data reliability
All security requests are properly configured to prevent future data leakage
Sector Mapping Notes:
Sector detection uses TradingView's sector field
Some stocks may not have sector data - indicator will adapt
Sector ETFs used: XLK, XLF, XLV, XLE, XLY, XLP, XLI, XLB, XLRE, XLU, XLC
Major market ETFs (SPY, QQQ, DIA) are treated as market benchmarks, not stocks
Multi-Asset Notes:
Crypto compares to CRYPTOCAP:TOTAL (total crypto market cap)
Forex compares to relevant currency index based on base currency
Commodities compare to Gold (GLD) as primary commodity benchmark
Custom leaders can be set for any asset type
FREQUENTLY ASKED QUESTIONS
Q: What does RS Score of 75 actually mean?
A: It means your stock is strongly outperforming its sector across multiple timeframes. The score is weighted toward recent performance (1-month gets 40% weight), so 75 indicates sustained relative strength with emphasis on current momentum.
Q: My stock has high RS Score but is going down. Why?
A: RS Score measures relative performance (vs sector/market), not absolute price direction. A stock can fall 5% while its sector falls 10% - that's still positive relative strength. In bear markets or sector corrections, high RS stocks often fall less than peers.
Q: Should I only trade stocks with RS Score above 70?
A: For long positions, yes - focus on 70+ scores. These stocks have proven they can beat their sector. However, for pairs trading or relative value plays, you might also short stocks with scores below 40 while longing stocks above 70.
Q: What if my stock doesn't have a sector?
A: The indicator handles this gracefully. If no sector is detected, it will compare directly to the market (SPY for stocks). Some rows may show N/A, but the indicator will still provide useful market-relative data.
Q: Why does the sector sometimes show N/A?
A: This happens when: 1) Your asset has no sector classification, 2) The stock IS the sector ETF itself, 3) You're analyzing a non-stock asset (crypto, forex, commodity). The indicator adapts by focusing on market-relative metrics instead.
Q: Can I use this on cryptocurrencies?
A: Yes! The indicator automatically detects crypto and compares to the Total Crypto Market Cap (CRYPTOCAP:TOTAL). You can also set a custom leader like Bitcoin (BTCUSD) to compare against the dominant crypto.
Q: What's the difference between RS Score and Consistency?
A: RS Score is the weighted average of how much you're beating the sector (magnitude). Consistency is what percentage of time periods show outperformance (reliability). You want both high - that means strong AND consistent.
Q: Do the alerts repaint?
A: No. All alerts fire only on bar close (barstate.isconfirmed) and use properly configured data with lookahead=off. Once an alert fires, it's final and won't change.
Q: What timeframe should I use?
A: For swing trading: Daily or Weekly. For day trading: 1H or 4H. For position trading: Weekly. Use "Chart Timeframe" mode and switch your chart timeframe to change the analysis period easily.
Q: Why is Days Above Sector showing 0?
A: This means your stock is not currently outperforming its sector. If Days Below Sector is also 0, it means the RS is exactly neutral (very rare). Check the actual RS values to see current standing.
Q: Can I compare to a different market benchmark than SPY?
A: Currently the indicator uses SPY (S&P 500) as the default US stock market benchmark. For crypto it uses CRYPTOCAP:TOTAL, for forex it uses currency indices, etc. The benchmark auto-adjusts based on asset type.
Q: What's a good Beta value?
A: It depends on your strategy. Aggressive traders prefer Beta above 1.2 (more volatility = bigger moves). Conservative traders prefer Beta 0.8-1.0 (more stable). Beta is neutral - it's about matching your risk tolerance.
Q: How often does the table update?
A: With Real-time Indicator enabled: Every tick (constant updates). With it disabled: Only on bar close. Either way, the underlying data is identical and non-repainting - the toggle only affects update frequency and the clock icon display.
Q: My stock is showing "AVOID" but it's up 50% this year. Is the indicator wrong?
A: Not necessarily. The indicator measures RELATIVE performance. If your stock is up 50% but the sector is up 100%, your stock is actually underperforming by 50%. The indicator helps you identify when you should switch to stronger stocks in the same sector.
Q: What does "Strong Buy Setup" really mean?
A: It means three things aligned: 1) RS Score above 70 (strong stock), 2) Consistency above 75% (reliable strength), 3) Sector rotation is bullish (hot sector). This combination historically correlates with stocks that continue outperforming. However, this is NOT financial advice - always do your own analysis.
Q: Can I use this for options trading?
A: Yes! High RS Score stocks make good candidates for call options (bullish bets) while low RS Score stocks may work for puts (bearish bets). Higher Beta stocks will have more volatile options (higher premiums but more movement).
Q: Why is my crypto showing N/A for sector?
A: Cryptocurrencies don't have "sectors" like stocks do. Instead, the indicator compares crypto to the total crypto market cap. This is normal and expected behavior.
Q: What happens if I'm analyzing an ETF?
A: If you're analyzing a sector ETF (like XLK), it will compare to SPY (market). If you're analyzing SPY itself, some comparisons won't be available (can't compare SPY to itself). The indicator intelligently adapts to avoid circular comparisons.
Q: What if my stock doesn't have industry data?
A: Not all stocks are mapped to specific industries (only 30+ major industries are covered). If no industry is detected, the indicator will still work using only sector analysis. The RS Score calculation will use 100% sector weight instead of the 60%/40% split.
Q: Why does Industry vs Sector matter?
A: Industry vs Sector shows if your specific industry is hot or cold within its broader sector. For example, Semiconductors (SMH) might be outperforming Technology sector (XLK) even though both are up. This helps you find not just strong sectors, but the strongest industries within those sectors.
Q: Can I disable Industry analysis?
A: Yes! In the "Industry Analysis" settings group, you can toggle off "Show Industry Analysis in Table" to hide all industry rows. However, even when hidden, industry data still contributes to the RS Score calculation for stocks.
Q: Why is my Consistency Score lower for stocks than other assets?
A: For stocks with industry data, Consistency counts 8 periods (4 Sector + 4 Industry periods) instead of just 4. This means the bar is higher - your stock needs to beat both sector AND industry consistently. A stock that beats sector in all 4 periods but lags industry in 2 periods will show 75% consistency (6/8), not 100%.
BEST PRACTICES
Use as a screening tool - Set RS Score filter to 70+ and quickly scan your watchlist. Only strong stocks will show the table.
Combine with technical analysis - RS Score tells you WHAT to trade, your chart tells you WHEN to enter.
Check multiple timeframes - Switch between Daily and Weekly to see if strength holds across different time horizons.
Monitor sector rotation - When sector goes from bearish to bullish rotation, it's often a great time to enter stocks in that sector.
Watch Industry vs Sector - Stocks in hot industries within hot sectors have double tailwinds. Prioritize Industry vs Sector positive values.
Pay attention to consistency - High RS Score with low consistency might be a spike that fades. Look for 70%+ consistency across BOTH sector and industry.
Use the leader comparison - If your stock consistently beats both sector leader AND industry leader, you may have found the next champion.
Watch days above/below sector - Long streaks (15+ days) indicate strong trends. Look for these in conjunction with high RS Score.
Set alerts on key stocks - Enable RS Score alerts at 70 threshold to get notified when watchlist stocks become strong.
Consider Beta for position sizing - Size smaller positions in high Beta stocks, larger in low Beta stocks for balanced risk.
Exit when RS Score drops - If a stock's RS Score falls below 60, consider reducing or exiting - the strength may be fading.
Leverage industry-level insight - If Industry ETF is weak but stock is strong, that's standout strength. If Industry is hot but stock is lagging, consider switching to the industry leader instead.
SETTINGS EXPLAINED
Display Settings:
Show Performance Table - Master on/off switch for the table
Table Position - 9 positions available (corners, edges, center)
Table Size - 4 sizes (tiny, small, normal, large) for different screen sizes
Timeframe Settings:
Chart Timeframe (recommended) - Dynamic, uses whatever chart TF you're on
Fixed Timeframes - Locks analysis to 1H, 4H, Daily, or Weekly regardless of chart
Filtering Settings:
Minimum RS Score - Set threshold (0-100) for displaying table
Show Warning - When enabled, displays message if stock doesn't meet filter
Alert Settings:
Divergence Alerts - Enable alerts when stock diverges from sector
Threshold (%) - How big a divergence triggers alert (default 5%)
RS Score Alerts - Enable alerts when RS Score crosses threshold
Threshold - What RS Score level triggers alert (default 70)
Sector Analysis Settings:
Use Custom Sector ETF - Override automatic sector ETF detection
Sector ETF Symbol - Enter any sector ETF to compare against
Use Custom Sector Leader - Override automatic sector leader detection
Sector Leader Symbol - Enter any ticker as sector leader
Industry Analysis Settings:
Use Custom Industry ETF - Override automatic industry ETF detection
Industry ETF Symbol - Enter specific industry ETF (e.g., IGV, SMH)
Use Custom Industry Leader - Override automatic industry leader detection
Industry Leader Symbol - Enter specific industry leader
Show Industry Analysis - Toggle all industry rows on/off
Display Settings:
Show Real-time Indicator - Toggle clock icon in header (doesn't affect data)
WHAT THIS INDICATOR DOESN'T DO
To set proper expectations:
Does NOT provide entry/exit signals - this is a strength analyzer, not a trading system
Does NOT predict future price movement - shows current and historical relative strength
Does NOT guarantee profits - strong RS stocks can still decline
Does NOT replace your own analysis - use as one tool among many
Does NOT work on stocks with no sector data - will adapt but some rows show N/A
This indicator is a decision support tool . It helps you identify which stocks are showing relative strength so you can make more informed trading decisions. You still need your own entry strategy, risk management, and position sizing rules.
SUPPORT & CONTACT
Questions or feedback? Use the comments section below or send me a message.
If you find this indicator useful, please give it a boost and share with other traders who might benefit from relative strength analysis.
FINAL REMINDER
This indicator is a tool for analyzing relative strength - it shows you which stocks are outperforming their sector and market. It does NOT provide financial advice or trade signals. Always conduct your own research, manage your risk appropriately, and consult with a financial advisor before making investment decisions.
Past performance of relative strength does not guarantee future results. Strong stocks can become weak, and sectors rotate in and out of favor. Use this indicator as part of a comprehensive trading strategy, not as a standalone decision-making system.
Trade smart, manage risk, and may your RS Scores stay high!
If you got till here and you like my work a BOOST and a COMMENT would make me happy
[PickMyTrade] Trendline Strategy# PickMyTrade Advanced Trend Following Strategy for Long Positions | Automated Trading Indicator
**Optimize Your Trading with PickMyTrade's Professional Trend Strategy - Auto-Execute Trades with Precision**
---
## Table of Contents
1. (#overview)
2. (#why-this-strategy-makes-money)
3. (#key-features)
4. (#how-it-works)
5. (#strategy-settings--configuration)
6. (#pickmytrade-integration)
7. (#advanced-features)
8. (#risk-management)
9. (#best-practices)
10. (#performance-optimization)
11. (#getting-started)
12. (#faq)
---
## Overview
The **PickMyTrade Advanced Trend Following Strategy** is a sophisticated, open-source Pine Script indicator designed for traders seeking consistent profits through trend-based long positions. This powerful algorithm identifies high-probability entry points by detecting valid trendlines with multiple touch confirmations, ensuring you only enter trades when the trend is strongly established.
### What Makes This Strategy Unique?
- **Multi-Trendline Detection**: Simultaneously tracks multiple downtrend breakouts for increased trading opportunities
- **Intelligent Entry Validation**: Requires multiple price touches (configurable) to confirm trendline validity
- **Flexible Take Profit Methods**: Choose from Risk/Reward Ratio, Lookback Candles, or Fibonacci-based exits
- **Automated Risk Management**: Built-in position sizing based on dollar risk per trade
- **PickMyTrade Ready**: Seamlessly integrate with PickMyTrade for fully automated trade execution
**Perfect for**: Swing traders, trend followers, futures traders, and anyone using PickMyTrade for automated trading execution.
---
## Why This Strategy Makes Money
### 1. **Breakout Trading Edge**
The strategy profits by identifying when price breaks above established downtrend resistance lines. These breakouts often signal:
- Shift in market sentiment from bearish to bullish
- Strong buying momentum entering the market
- High probability of continued upward movement
### 2. **Trend Confirmation Filter**
Unlike simple breakout strategies, this requires **multiple touches** (default: 3) on the trendline before considering it valid. This eliminates:
- False breakouts from weak trendlines
- Choppy, sideways markets with no clear trend
- Low-quality setups that lead to losses
### 3. **Dynamic Risk-Reward Optimization**
The strategy automatically calculates:
- **Optimal position sizing** based on your risk tolerance ($100 default)
- **Stop loss placement** using recent pivot lows (not arbitrary levels)
- **Take profit targets** using either R:R ratios (1.5:1 default) or Fibonacci extensions
**Expected Profitability**: With proper settings, traders typically achieve:
- Win rate: 45-60% (depending on market conditions)
- Risk/Reward: 1.5:1 to 2.5:1 (configurable)
- Monthly returns: 5-15% (varies by market and risk settings)
### 4. **Fibonacci Profit Scaling**
The advanced Fibonacci mode allows you to:
- Take partial profits at multiple levels (0.618, 1.0, 1.312, 1.618)
- Lock in gains while letting winners run
- Maximize profits during strong trending moves
---
## Key Features
### Trend Detection & Validation
โ
**Dynamic Trendline Drawing**: Automatically identifies and extends downtrend resistance lines
โ
**Touch Validation**: Configurable number of touches (1-10) to confirm trendline strength
โ
**Valid Percentage Buffer**: Allows minor price deviations (default 0.1%) for more realistic trendlines
โ
**Pivot-Based Validation**: Optional extra filter using smaller pivot points for precision
### Position Management
โ
**Multi-Position Support**: Trade up to 1000 positions simultaneously (pyramiding)
โ
**Single or Multi-Trend Mode**: Track one primary trend or multiple concurrent trends
โ
**Dollar-Based Position Sizing**: Risk fixed dollar amount per trade (not percentage of account)
โ
**Automatic Quantity Calculation**: Determines optimal contract size based on risk and stop distance
### Take Profit Methods (3 Options)
#### 1. **Risk/Reward Ratio** (Recommended for Beginners)
- Set desired R:R (default 1.5:1)
- Simple, consistent profit targets
- Works well in trending markets
#### 2. **Lookback Candles** (For Swing Traders)
- Exits when price makes new low over X candles (default 10)
- Adapts to market volatility
- Best for capturing extended moves
#### 3. **Fibonacci Extensions** (For Advanced Traders)
- Up to 4 profit targets: 61.8%, 100%, 131.2%, 161.8%
- Automatically scales out of positions
- Maximizes gains during strong trends
### Stop Loss Options
โ
**Pivot-Based Stop Loss**: Uses recent pivot lows for logical stop placement
โ
**Buffer/Offset**: Add extra distance (in ticks) below pivot for safety
โ
**Trailing Stop**: Optional feature to lock in profits as trade moves in your favor
โ
**Enable/Disable Toggle**: Full control over stop loss activation
### Session Control
โ
**Time-Based Trading**: Limit trades to specific hours (e.g., 9:00 AM - 6:00 PM)
โ
**Auto-Close at Session End**: Automatically closes all positions outside trading hours
โ
**Works on All Timeframes**: Intraday and higher timeframes supported
---
## How It Works
### Step-by-Step Trade Logic
#### 1. **Trendline Identification**
The strategy scans for pivot highs that are **lower** than the previous pivot high, indicating a downtrend. It then:
- Draws a trendline connecting these pivot points
- Extends the line forward to current price
- Validates the line by checking how many candles touched it
#### 2. **Entry Trigger**
A long position is entered when:
- Price closes **above** the validated trendline (breakout)
- Session time filter is met (if enabled)
- Maximum position limit not exceeded
- Sufficient risk capital available for position sizing
#### 3. **Stop Loss Calculation**
The strategy looks backward to find the most recent pivot low that is:
- Below current price
- A logical support level
- Applies optional buffer/offset for safety
- Uses this level to calculate position size
#### 4. **Take Profit Execution**
Depending on your selected method:
- **R:R Mode**: Calculates TP as entry + (entry - SL) ร ratio
- **Lookback Mode**: Exits when price makes new low over specified candles
- **Fibonacci Mode**: Sets 4 profit targets based on Fibonacci extensions from swing high to stop loss
#### 5. **Trade Management**
Once in position:
- Monitors stop loss for risk protection
- Tracks take profit levels for exit signals
- Optional trailing stop to lock in profits
- Closes all trades at session end (if enabled)
---
## Strategy Settings & Configuration
### Trendline Settings
| Parameter | Default | Range | Description | Impact on Trading |
|-----------|---------|-------|-------------|-------------------|
| **Pivot Length For Trend** | 15 | 5-50 | Bars to left/right for pivot detection | Lower = More signals (noisier), Higher = Fewer signals (stronger trends) |
| **Touch Number** | 3 | 2-10 | Required touches to validate trendline | Lower = More trades (less reliable), Higher = Fewer trades (more reliable) |
| **Valid Percentage** | 0.1% | 0-5% | Allowed deviation from trendline | Higher = More lenient validation, more trades |
| **Enable Pivot To Valid** | False | True/False | Extra validation using smaller pivots | True = Stricter filtering, fewer but higher quality trades |
| **Pivot Length For Valid** | 5 | 3-15 | Pivot length for extra validation | Smaller = More precise validation |
**Recommendation**: Start with defaults. In choppy markets, increase touch number to 4-5. In strongly trending markets, reduce to 2.
### Position Management
| Parameter | Default | Range | Description | Impact on Trading |
|-----------|---------|-------|-------------|-------------------|
| **Enable Multi Trend** | True | True/False | Track multiple trendlines simultaneously | True = More opportunities, False = One trade at a time |
| **Position Number** | 1 | 1-1000 | Maximum concurrent positions | Higher = More capital deployed, more risk |
| **Risk Amount** | $100 | $10-$10,000 | Dollar risk per trade | Higher = Larger positions, more P&L per trade |
| **Enable Default Contract Size** | False | True/False | Use 1 contract if calculated size โค1 | True = Always enter (even micro accounts) |
**Money Management Tip**: Risk 1-2% of your account per trade. If you have $10,000, set Risk Amount to $100-$200.
### Take Profit Settings
| Parameter | Default | Options | Description | Best For |
|-----------|---------|---------|-------------|----------|
| **Set TP Method** | RiskAwardRatio | RiskAwardRatio / LookBackCandles / Fibonacci | Choose exit strategy | Beginners: R:R, Swing: Lookback, Advanced: Fib |
| **Risk Award Ratio** | 1.5 | 1.0-5.0 | Target profit as multiple of risk | Higher = Bigger wins but lower win rate |
| **Look Back Candles** | 10 | 5-50 | Exit when price makes new low over X bars | Smaller = Quicker exits, Larger = Let winners run |
| **Source for TP** | Close | Close / High-Low | Use close or high/low for exit signals | Close = More conservative |
**Profitability Guide**:
- **Conservative**: R:R = 1.5, Lookback = 10
- **Balanced**: R:R = 2.0, Lookback = 15
- **Aggressive**: R:R = 2.5, Fibonacci mode with 1.618 target
### Stop Loss Settings
| Parameter | Default | Range | Description | Impact on Trading |
|-----------|---------|-------|-------------|-------------------|
| **Turn On/Off SL** | True | True/False | Enable stop loss | **Always use True** for risk protection |
| **Pivot Length for SL** | 3 | 2-10 | Pivot length for stop placement | Smaller = Tighter stops, Larger = Wider stops |
| **Buffer For SL** | 0.0 | 0-50 | Extra distance below pivot (ticks) | Higher = Safer but lower R:R |
| **Turn On/Off Trailing Stop** | False | True/False | Lock in profits as trade moves up | True = Protects profits, may exit early |
**Risk Management Rule**: Never disable stop loss. Use buffer in volatile markets (5-10 ticks).
### Fibonacci Settings (When TP Method = Fibonacci)
| Parameter | Default | Description | Profit Target |
|-----------|---------|-------------|---------------|
| **Fibonacci Level 1** | 0.618 | First profit target | 61.8% of swing range |
| **Fibonacci Level 2** | 1.0 | Second profit target | 100% of swing range |
| **Fibonacci Level 3** | 1.312 | Third profit target | 131.2% extension |
| **Fibonacci Level 4** | 1.618 | Fourth profit target | 161.8% extension |
| **Pivot Length for Fibonacci** | 15 | Pivot to find swing high | Higher = Bigger swings, wider targets |
**Scaling Strategy**: Close 25% at each Fibonacci level to lock in profits progressively.
### Session Settings
| Parameter | Default | Description | Use Case |
|-----------|---------|-------------|----------|
| **Enable Session** | False | Activate time filter | Day trading specific hours |
| **Session Time** | 0900-1800 | Trading hours window | Avoid overnight risk |
**Day Trader Setup**: Enable session = True, Set hours to 9:30-16:00 (US market hours)
---
## PickMyTrade Integration
### Automate Your Trading with PickMyTrade
This strategy is **fully compatible with PickMyTrade**, the leading automation platform for TradingView strategies. Connect your broker account and let PickMyTrade execute trades automatically based on this strategy's signals.
### Why Use PickMyTrade?
โ
**Hands-Free Trading**: Never miss a signal, even while sleeping
โ
**Multi-Broker Support**: Works with Tradovate, NinjaTrader, TradeStation, and more
โ
**Instant Execution**: Alerts trigger trades in milliseconds
โ
**Risk Management**: Built-in position sizing and stop loss handling
โ
**Mobile Monitoring**: Track trades from your phone
**Boom!** Your strategy is now fully automated. Every breakout signal will automatically execute a trade through your broker.
### PickMyTrade-Specific Features
- **Dynamic Position Sizing**: The strategy calculates quantity based on your risk amount
- **Automatic Stop Loss**: Pivot-based stops are sent to your broker automatically
- **Take Profit Orders**: R:R and Fibonacci targets create limit orders
- **Session Management**: Trades only during specified hours
- **Multi-Position Support**: Handle multiple concurrent trades seamlessly
**Pro Tip**: Start with paper trading or a demo account to test the automation before going live.
---
## Advanced Features
### 1. Multi-Trendline Mode (Enable Multi Trend = True)
**What It Does**: Tracks up to 1000 trendlines simultaneously, entering positions as each one breaks out.
**Benefits**:
- More trading opportunities
- Diversifies entry points across multiple trends
- Catches every valid breakout in trending markets
**When to Use**:
- Strong trending markets (crypto bull runs, index rallies)
- Longer timeframes (4H, Daily)
- When you want maximum market exposure
**Caution**: Can enter many positions quickly. Set appropriate Position Number limit and Risk Amount.
### 2. Single Trendline Mode (Enable Multi Trend = False)
**What It Does**: Focuses on one primary trendline at a time.
**Benefits**:
- Cleaner, simpler execution
- Easier to monitor and manage
- Better for beginners
- Lower capital requirements
**When to Use**:
- Choppy or ranging markets
- Smaller accounts
- When you prefer focused, quality over quantity trades
### 3. Fibonacci Profit Scaling
**How It Works**:
1. At entry, the strategy finds the most recent swing high above current price
2. Calculates the range from swing high to stop loss
3. Projects 4 Fibonacci extensions: 61.8%, 100%, 131.2%, 161.8%
4. Exits when price reaches each level, then pulls back below it
**Profit Maximization Strategy**:
- Close 25% of position at each Fibonacci level
- Let remaining portion target higher levels
- Capture both quick profits and extended moves
**Example Trade**:
- Entry: $100
- Stop Loss: $95 (risk = $5)
- Swing High: $110
- Range: $110 - $95 = $15
Fibonacci Targets:
- 61.8% = $95 + ($15 ร 0.618) = $104.27 (+4.27%)
- 100% = $95 + ($15 ร 1.0) = $110 (+10%)
- 131.2% = $95 + ($15 ร 1.312) = $114.68 (+14.68%)
- 161.8% = $95 + ($15 ร 1.618) = $119.27 (+19.27%)
**Result**: Even if only first two targets hit, you lock in +7% average gain vs. -5% risk = 1.4:1 R:R
### 4. Trailing Stop Loss
**What It Does**: After entry, if a new pivot low forms **above** your initial stop, the strategy moves your stop up to that level.
**Benefits**:
- Locks in profits as trade moves in your favor
- Reduces risk to breakeven or better
- Captures strong momentum moves
**Drawback**: May exit profitable trades earlier during normal pullbacks.
**Best Practice**: Use in strongly trending markets. Disable in choppy conditions.
### 5. Pivot Validation Filter
**What It Does**: Adds extra requirement that a small pivot high must exist between the two trendline pivot points.
**Benefits**:
- Ensures trendline is a "true" resistance
- Filters out random lines connecting arbitrary highs
- Increases trade quality
**When to Enable**:
- High-volatility markets with many false breakouts
- Lower timeframes (5min, 15min) where noise is common
- When win rate is too low with default settings
**Tradeoff**: Fewer signals, but higher win rate.
### 6. Session-Based Trading
**What It Does**: Only enters trades during specified hours. Auto-closes all positions outside session.
**Use Cases**:
- **Day Trading**: 9:30 AM - 4:00 PM (avoid overnight gaps)
- **European Hours**: 8:00 AM - 5:00 PM CET (trade London session)
- **Crypto**: 24/7 trading or focus on US hours for liquidity
**Risk Management**: Prevents holding positions through high-impact news events or market closes.
---
## Risk Management
### Position Sizing Formula
The strategy uses **fixed dollar risk** position sizing:
```
Position Size = Risk Amount รท (Entry Price - Stop Loss) รท Point Value
```
**Example** (ES Futures):
- Risk Amount: $100
- Entry: 4500
- Stop Loss: 4490
- Risk per contract: 10 points ร $50/point = $500
- Position Size: $100 รท $500 = 0.2 contracts โ Rounds to 0 (no trade)
If `Enable Default Contract Size = True`, it would trade 1 contract instead.
### Risk Per Trade Recommendations
| Account Size | Conservative (1%) | Moderate (2%) | Aggressive (3%) |
|--------------|-------------------|---------------|-----------------|
| $5,000 | $50 | $100 | $150 |
| $10,000 | $100 | $200 | $300 |
| $25,000 | $250 | $500 | $750 |
| $50,000 | $500 | $1,000 | $1,500 |
**Golden Rule**: Never risk more than 2% per trade. Even with 10 losses in a row, you'd only be down 20%.
### Maximum Drawdown Protection
**Multi-Position Risk**:
- If Position Number = 5 and Risk Amount = $100
- Maximum simultaneous risk = 5 ร $100 = $500
- Ensure this is โค 5% of your total account
**Daily Loss Limit**:
- Set a mental stop: "If I lose $X today, I stop trading"
- Typical limit: 3-5% of account per day
- Prevents revenge trading and emotional decisions
### Stop Loss Best Practices
1. **Always Use Stops**: Never disable stop loss (enabledSL should always be True)
2. **Buffer in Volatile Markets**: Add 5-10 tick buffer to avoid stop hunts
3. **Respect Your Stops**: Don't manually override or move stops further away
4. **Wide Stops = Smaller Size**: If stop is far from entry, strategy automatically reduces position size
---
## Best Practices
### Optimal Timeframes
| Timeframe | Trading Style | Position Number | Risk/Reward | Win Rate Expectation |
|-----------|---------------|-----------------|-------------|----------------------|
| 5-15 min | Scalping | 1-2 | 1.5:1 | 50-55% |
| 30 min - 1H | Intraday | 2-3 | 2:1 | 55-60% |
| 4H | Swing Trading | 3-5 | 2.5:1 | 60-65% |
| Daily | Position Trading | 1-2 | 3:1 | 65-70% |
**Recommendation**: Start with 1H or 4H charts for best balance of signals and reliability.
### Ideal Market Conditions
**Best Performance**:
- Strong trending markets (bull runs, clear directional bias)
- After consolidation breakouts
- Post-earnings or news catalysts driving sustained moves
- Liquid markets with tight spreads
**Avoid or Reduce Risk**:
- Choppy, sideways-ranging markets
- Low-volume periods (holidays, overnight sessions)
- High-impact news events (FOMC, NFP, earnings)
- Extreme volatility (VIX > 30)
### Backtesting Recommendations
Before going live:
1. **Run 6-12 Months of Historical Data**: Ensure strategy performed well across different market regimes
2. **Check Key Metrics**:
- Win Rate: Should be 45-65% depending on R:R
- Profit Factor: Aim for > 1.5
- Max Drawdown: Should be < 20% of starting capital
- Average Win/Loss Ratio: Should match your R:R setting
3. **Stress Test**: Test during known volatile periods (March 2020, Jan 2022, etc.)
4. **Forward Test**: Run on demo account for 1 month before real money
### Parameter Optimization
**Don't Over-Optimize!** Avoid curve-fitting to past data. Instead:
1. **Start with Defaults**: Use recommended settings first
2. **Change One Parameter at a Time**: Isolate what improves performance
3. **Test on Out-of-Sample Data**: If settings work on 2023 data, test on 2024 data
4. **Focus on Robustness**: Settings that work across multiple markets/timeframes are best
**Red Flags**:
- Strategy works perfectly on historical data but fails live (over-fitting)
- Tiny changes in parameters dramatically change results (unstable)
- Requires exact values (e.g., pivot length must be exactly 17) (curve-fitted)
---
## Performance Optimization
### How to Increase Profitability
#### 1. Optimize Risk/Reward Ratio
- **Current**: 1.5:1 (default)
- **Test**: 2:1, 2.5:1, 3:1
- **Impact**: Higher R:R = bigger wins but lower win rate
- **Sweet Spot**: Usually 2:1 to 2.5:1 for trend strategies
#### 2. Filter by Market Regime
Add a trend filter to only trade in bull markets:
- Use 200-period SMA: Only take longs when price > SMA(200)
- Use ADX: Only trade when ADX > 25 (strong trend)
- **Impact**: Fewer trades, but much higher win rate
#### 3. Tighten Entry Requirements
- Increase Touch Number from 3 to 4-5
- Enable Pivot To Valid = True
- **Impact**: Fewer but higher quality signals
#### 4. Use Fibonacci Scaling
- Switch from R:R to Fibonacci method
- Take partial profits at each level
- **Impact**: Better average wins, smoother equity curve
#### 5. Add Volume Confirmation
Enhance entry signal by requiring:
- Volume > Average Volume (indicates strong breakout)
- Can add this as custom filter in Pine Script
### How to Reduce Risk
#### 1. Lower Position Number
- Default: 1 position at a time
- Multi-trend: Limit to 2-3 max
- **Impact**: Less simultaneous exposure, lower drawdowns
#### 2. Reduce Risk Amount
- Start with $50 per trade (0.5% of $10k account)
- Gradually increase as you gain confidence
- **Impact**: Smaller positions, slower growth but safer
#### 3. Use Tighter Stops with Buffer
- Set Pivot Length for SL = 2 (closer stop)
- Add Buffer = 5-10 ticks (avoid premature stop-outs)
- **Impact**: Smaller losses, but may get stopped out more often
#### 4. Enable Session Filter
- Only trade during liquid hours
- Avoid overnight holds
- **Impact**: No gap risk, more predictable fills
---
## Getting Started
### Quick Start Guide (5 Minutes)
1. **Copy the Strategy Code**
- Open the `.txt` file provided
- Copy all code to clipboard
2. **Add to TradingView**
- Go to TradingView Pine Editor
- Paste code
- Click "Save" โ Name it "PickMyTrade Trend Strategy"
- Click "Add to Chart"
3. **Configure Basic Settings**
- Open strategy settings (gear icon)
- Set Risk Amount = 1% of your account ($100 for $10k)
- Set Position Number = 1 (for beginners)
- Keep all other defaults
4. **Backtest on Your Market**
- Choose your instrument (ES, NQ, AAPL, BTC, etc.)
- Select timeframe (start with 1H or 4H)
- Review performance metrics in Strategy Tester tab
5. **Optimize (Optional)**
- Adjust Touch Number (2-5) to balance signals vs. quality
- Try different TP methods (R:R vs. Fibonacci)
- Test on multiple timeframes
6. **Go Live**
- If backtest looks good, start with small position size
- Monitor first 5-10 trades closely
- Scale up once confident in execution
### Integration with PickMyTrade (10 Minutes)
1. **Sign Up for PickMyTrade**
- Visit (pickmytrade.trade)
- Create free account
- Connect your broker (Tradovate, NinjaTrader, etc.)
2. **Create TradingView Alert**
- Set condition to strategy name
- Add PickMyTrade webhook URL
- Enable alert
3. **Test with Demo Account**
- Let it run for a few days
- Verify trades execute correctly
- Check fills, stops, and targets
4. **Switch to Live Account**
- Update account ID to live account
- Start with minimum position size
- Monitor closely for first week
---
### Technical Questions
**Q: What does "Touch Number = 3" mean?**
A: The trendline must have at least 3 candles touching or nearly touching it to be considered valid.
**Q: Why am I getting no trades?**
A: Trendline requirements may be too strict. Try:
- Reduce Touch Number to 2
- Increase Valid Percentage to 0.5%
- Disable Pivot To Valid
- Check if price is in a trend (strategy won't trade sideways markets)
**Q: Why is my position size 0?**
A: Risk Amount is too small for the stop distance. Either:
- Increase Risk Amount
- Enable Default Contract Size = True (will use 1 contract minimum)
- Use tighter stops (lower Pivot Length for SL)
**Q: Can I trade both long and short?**
A: Current code is long-only. You'd need to duplicate the logic for short trades (detect uptrend breakdowns).
**Q: How do I change from TradingView strategy to indicator?**
A: Change line 5 from `strategy(...)` to `indicator(...)`. Replace `strategy.entry()` and `strategy.exit()` with `alert()` calls.
### Risk Management Questions
**Q: What's the maximum drawdown I should expect?**
A: Typically 10-20% depending on settings. If experiencing > 25%, reduce position size or tighten filters.
**Q: Should I risk more to make more money?**
A: No. Risking 2% vs. 5% per trade doesn't triple your profitsโit triples your risk of blowing up. Stick to 1-2% per trade.
**Q: What if I hit 5 losses in a row?**
A: Normal. Even with 60% win rate, losing streaks happen. Don't increase position size to "win it back." Stick to your risk plan.
**Q: Do I need to watch the screen all day?**
A: No, especially with PickMyTrade automation. Check positions 1-2 times per day. Overtrading kills profits.
---
## Disclaimer
**Important Risk Disclosure**:
Trading futures, stocks, forex, and cryptocurrencies involves substantial risk of loss and is not suitable for all investors. Past performance is not indicative of future results. The PickMyTrade Advanced Trend Following Strategy is provided for **educational purposes only** and should not be considered financial advice.
**Key Risks**:
- You can lose more than your initial investment
- Backtested results may not reflect live trading performance
- Market conditions change; no strategy works forever
- Automation errors can occur (connectivity, bugs, etc.)
**Before Trading**:
- Consult a licensed financial advisor
- Fully understand the strategy logic
- Test on demo account for at least 1 month
- Only risk capital you can afford to lose
- Start with minimum position sizes
**PickMyTrade**:
This strategy is compatible with PickMyTrade but is not officially endorsed by PickMyTrade. The author is not affiliated with PickMyTrade. For PickMyTrade support, visit their official website.
**License**: This strategy is open-source under Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0). You may modify and share, but not for commercial use.
---
**Ready to automate your trading with PickMyTrade? Add this strategy to your TradingView chart today and start capturing profitable trend breakouts on autopilot!**
MACD Divergence Optimizer# MACD Divergence Optimizer - User Guide
## Overview
The **MACD Divergence Optimizer** is a professional-grade technical analysis indicator for TradingView that automatically detects hidden divergences on MACD with volume weighting. It identifies potential reversal points before price action confirms the move, giving traders an early edge.
---
## What is Divergence?
A **divergence** occurs when price and an oscillator (like MACD) move in opposite directions:
- **Bullish Divergence**: Price makes a lower low, but MACD makes a higher low โ Potential uptrend reversal
- **Bearish Divergence**: Price makes a higher high, but MACD makes a lower high โ Potential downtrend reversal
Divergences are among the most reliable reversal signals in technical analysis.
---
## Indicator Features
### Volume-Weighted MACD
- Standard MACD is calculated on closing price
- This indicator uses **volume-weighted closing prices** for greater accuracy
- Formula: MACD = (Volume-Weighted EMAโโ - Volume-Weighted EMAโโ)
- Volume weighting gives more importance to high-conviction price moves
### Automatic Swing Detection
- Detects local highs and lows (5-bar lookback)
- Tracks the last 5 swings for divergence analysis
- Only meaningful swings are tracked (filtered for noise)
### Smart Signal Generation
- Green triangle (โฒ) = Bullish Divergence (BUY signal)
- Red triangle (โผ) = Bearish Divergence (SELL signal)
- Triangles appear directly on the MACD line for precise entry timing
### Built-in Alerts
- Real-time notifications for divergence signals
- Alerts can trigger mobile push notifications or sound
- Never miss a trading opportunity
---
## How to Use
### Installation
1. Open TradingView and navigate to the Chart
2. Click "Indicator" โ Search "MACD Divergence Optimizer"
3. Click "Add to Chart"
4. The indicator appears in a separate panel below the price chart
### Reading the Indicator
**MACD Panel displays:**
- **Blue Line** = MACD (fast momentum)
- **Orange Line** = Signal line (slow momentum)
- **Histogram** (colored bars) = Difference between MACD and Signal
- Green bars = MACD above signal (bullish)
- Red bars = MACD below signal (bearish)
**Divergence Signals:**
- **Green Triangle โฒ** = Bullish divergence detected
- Price is lower, but MACD momentum is strengthening
- Look for uptrend reversal
- Confirm with higher closes or volume
- **Red Triangle โผ** = Bearish divergence detected
- Price is higher, but MACD momentum is weakening
- Look for downtrend reversal
- Confirm with lower closes or selling volume
---
## Parameters & Settings
### MACD Fast Length (Default: 12)
- Controls the faster moving average period
- **Lower values** โ More responsive, more false signals
- **Higher values** โ Smoother, fewer signals
- **Typical range**: 8-15
### MACD Slow Length (Default: 26)
- Controls the slower moving average period
- **Lower values** โ Faster divergence detection
- **Higher values** โ More reliable, fewer signals
- **Typical range**: 20-35
### Signal Smoothing (Default: 9)
- EMA period applied to MACD itself
- **Lower values** โ Faster crossover signals
- **Higher values** โ Fewer false crossovers
- **Typical range**: 5-15
### Min Divergence Strength (Default: 0.5%)
- Minimum % difference between current MACD and swing MACD
- **Lower values** โ More divergence signals (noisier)
- **Higher values** โ Only strong divergences (fewer signals)
- **Recommended**: 0.3% - 1.0%
### Lookback Bars (Default: 75)
- Historical window for analysis
- Larger lookback = more context but slower calculation
- **Typical range**: 50-100
---
## Trading Strategy
### Bullish Divergence (Entry Setup)
1. **Identify Signal**: Green triangle appears on MACD
2. **Confirm Price**: Look for price rejection of the low (bounce)
3. **Volume Check**: Buy on increase in volume at the bounce
4. **Entry**: Above the swing low level
5. **Stop Loss**: Below the most recent swing low
6. **Target**: Next swing high or resistance level
### Bearish Divergence (Entry Setup)
1. **Identify Signal**: Red triangle appears on MACD
2. **Confirm Price**: Look for price rejection of the high
3. **Volume Check**: Sell on increase in volume at rejection
4. **Entry**: Below the swing high level
5. **Stop Loss**: Above the most recent swing high
6. **Target**: Next swing low or support level
### Risk Management
- **Position Size**: Risk only 1-2% per trade
- **Stop Loss**: Place beyond recent swings
- **Take Profit**: Scale out at 1:1, 1:2, 1:3 risk-reward ratios
- **Filter**: Use on higher timeframes (4H, Daily) for reliability
---
## Timeframe Recommendations
| Timeframe | Best For | Signal Quality |
|-----------|----------|---|
| **1H** | Scalping, day trading | Moderate (some noise) |
| **4H** | Swing trading | Excellent |
| **Daily** | Position trading | Excellent |
| **Weekly** | Long-term trends | Excellent |
---
## Tips & Best Practices
### โ
DO:
- **Use on trends**: Divergences work best when there's a clear trend
- **Combine signals**: Look for confirmation from price action, volume, or moving averages
- **Trade the bounce**: Wait for price to react to the swing, then enter
- **Adjust parameters**: Test different MACD lengths for your trading style
- **Use alerts**: Set up mobile alerts so you don't miss signals
### โ DON'T:
- **Trade every signal**: Some signals are stronger than others
- **Trade flat/choppy markets**: Divergences fail in ranging markets
- **Ignore support/resistance**: Trade divergences near key levels for best results
- **Over-leverage**: Divergences are probabilistic, not guaranteed
- **Disable volume analysis**: Always check volume when divergence fires
---
## Advanced Features
### Volume Weighting
The indicator uses **volume-weighted MACD** instead of standard MACD. This means:
- High-volume reversals get more emphasis
- Low-volume moves are smoothed out
- More accurate momentum readings
- Better at identifying true trend changes
### Array Tracking
The indicator tracks the last 5 swings in arrays:
- `swingLows ` = last 5 price lows
- `swingHighs ` = last 5 price highs
- `swingMacds ` = corresponding MACD values
This allows detection of **hidden divergences** not visible in traditional analysis.
---
## Common Questions
**Q: Why didn't the indicator trigger a signal when I see a divergence?**
A: The indicator may require:
- MACD histogram to cross the zero line (confirms momentum shift)
- Minimum strength threshold to be met (adjust Min Divergence Strength)
- At least 5 swings to be recorded in the lookback window
**Q: Can I use this on all timeframes?**
A: Yes, but divergences are more reliable on higher timeframes (4H+). Lower timeframes produce more signals but with more noise.
**Q: Should I trade every green/red triangle?**
A: No. Use them as a heads-up for potential reversals. Always confirm with:
- Price action (rejection of the swing)
- Volume (increasing volume at reversal)
- Key support/resistance levels
**Q: How do I set alerts?**
A:
1. Right-click the indicator โ Edit Alerts
2. Check "Bullish Divergence" and/or "Bearish Divergence"
3. Choose notification type (browser, mobile, email)
4. Set frequency to "Once per bar close"
**Q: What's the difference between regular and hidden divergence?**
A: This indicator detects **hidden divergences** (also called continuation divergences):
- **Regular**: Price makes new extreme, but oscillator doesn't
- **Hidden**: Price makes new extreme, oscillator makes new extreme in different direction
- Hidden divergences are often more reliable for continuation plays
---
## Disclaimer
This indicator is provided for educational and informational purposes only. It is not financial advice. Past performance does not guarantee future results. Always use proper risk management and combine with other analysis methods. Trading and investing carry risk of loss. Do your own research before making trading decisions.
---
## Support & Updates
For issues, feature requests, or questions:
- Check the indicator settings and parameter values
- Test on historical data first before live trading
- Adjust parameters to match your trading style and timeframe
---
**Version**: 1.0
**Last Updated**: November 2025
**Compatible**: TradingView v6+
chanlun็ผ ่ฎบ - ็ฌไธไธญๆขOverview
The Chanlun (็ผ ่ฎบ) Strokes & Central Zones indicator is an advanced technical analysis tool based on Chinese Chan Theory (Chanlun Theory). It automatically identifies market structure through "strokes" (็ฌ) and "central hubs" (ไธญๆข), providing traders with a systematic framework for understanding price movements, trend structure, and potential reversal zones.
Theoretical Foundation
Chan Theory is a sophisticated price action methodology that breaks down market movements into hierarchical structures:
Local Extremes: Swing highs and lows identified through lookback periods
Strokes (็ฌ): Valid price movements between opposite extremes that meet specific criteria
Central Hubs (ไธญๆข): Consolidation zones formed by overlapping strokes, representing key support/resistance areas
Key Components
1. Local Extreme Detection
Identifies swing highs and lows using a configurable lookback period (default: 5 bars)
Only considers extremes within the specified calculation range
Forms the foundation for stroke construction
2. Stroke (็ฌ) Identification
The indicator applies a multi-stage filtering process to identify valid strokes:
Stage 1 - Extreme Consolidation:
Merges consecutive extremes of the same type (high or low)
Keeps only the most extreme value (highest high or lowest low)
Stage 2 - Stroke Validation:
Ensures minimum bar gap between strokes (default: 4 bars)
Alternative validation: 2+ bars with >1% price change
Eliminates noise and insignificant price movements
Color Coding:
White Lines: Regular up/down strokes
Yellow Lines: Strokes that form part of a central hub
Customizable width and colors for different stroke types
3. Central Hub (ไธญๆข) Formation
A central hub forms when at least 3 consecutive strokes have overlapping price ranges:
Formation Rules:
Stroke 1:
Stroke 2:
Stroke 3:
Hub Upper = MIN(High1, High2, High3)
Hub Lower = MAX(Low1, Low2, Low3)
Valid if: Hub Upper > Hub Lower
Hub Extension:
Subsequent strokes that overlap with the hub extend it
Hub ends when a stroke no longer overlaps
Creates rectangular zones on the chart
Visual Representation:
Green rectangular boxes: Mark the time and price range of each central hub
Dashed extension lines: Show the latest hub boundaries extending to the right
Price labels on axis: Display exact hub upper and lower boundary values
4. Extreme Point Markers (Optional)
Red markers for tops (โผ)
Green markers for bottoms (โฒ)
Marks every validated stroke extreme point
Useful for detailed structure analysis
5. Information Table (Optional)
Displays real-time statistics:
Symbol name
Current timeframe
Lookback period setting
Minimum gap setting
Total stroke count
Parameter Settings
Performance Settings
Max Bars to Calculate (3600): Limits historical calculation to improve performance
Local Extreme Lookback Period (5): Bars used to identify swing highs/lows
Min Gap Bars (4): Minimum bars required between valid strokes
Display Settings
Show Strokes: Toggle stroke line visibility
Show Central Hub: Toggle hub box visibility
Show Hub Extension Lines: Toggle dashed boundary lines
Show Extreme Point Marks: Toggle top/bottom markers
Show Info Table: Toggle statistics table
Color Settings
Full customization of:
Up/down stroke colors and widths
Hub stroke colors and widths
Hub border and background colors
Extension line colors
Trading Applications
Trend Structure Analysis
Uptrend: Series of higher highs and higher lows connected by strokes
Downtrend: Series of lower highs and lower lows connected by strokes
Consolidation: Formation of central hubs indicating range-bound movement
Support and Resistance Identification
Central Hub Zones: Act as strong support/resistance areas
Hub Upper Boundary: Resistance level in consolidation, support after breakout
Hub Lower Boundary: Support level in consolidation, resistance after breakdown
Price tends to react at these levels due to market structure memory
Breakout Trading
Bullish Breakout: Price closes above hub upper boundary
Previous resistance becomes support
Entry on retest of upper boundary
Stop loss below hub zone
Bearish Breakdown: Price closes below hub lower boundary
Previous support becomes resistance
Entry on retest of lower boundary
Stop loss above hub zone
Reversal Detection
Hub Formation After Trend: Signals potential trend exhaustion
Multiple Hub Levels: Create probability zones for reversals
Stroke Count: Excessive strokes within hub suggest weakening momentum
Position Management
Use hub boundaries for stop loss placement
Scale out positions at hub edges
Re-enter on retests of broken hub levels
Interpretation Guide
Strong Trending Market
Long, clear strokes with minimal overlap
Few or no central hubs forming
Strokes consistently in same direction
Wide spacing between extremes
Consolidating Market
Multiple central hubs forming
Short, overlapping strokes
Yellow hub strokes dominate the chart
Narrow price range
Trend Transition
Hub formation after extended trend
Stroke direction changes frequently
Hub boundaries being tested repeatedly
Potential reversal zone
Advanced Usage Techniques
Multi-Timeframe Analysis
Higher Timeframe: Identify major hub zones for overall market structure
Lower Timeframe: Find precise entry points within larger structure
Alignment: Trade when lower timeframe strokes align with higher timeframe hub breaks
Hub Quality Assessment
Wide Hubs: Strong consolidation, higher probability support/resistance
Narrow Hubs: Weak consolidation, may break easily
Extended Hubs: More strokes = stronger zone
Isolated Hubs: Single hub = potential pivot point
Stroke Analysis
Stroke Length: Longer strokes = stronger momentum
Stroke Speed: Fewer bars per stroke = explosive moves
Stroke Clustering: Many short strokes = indecision
Best Practices
Parameter Optimization
Adjust lookback period based on timeframe and volatility
Lower periods (3-4): More strokes, more noise, faster signals
Higher periods (7-10): Fewer strokes, cleaner structure, slower signals
Confirmation Strategy
Don't trade on strokes alone
Combine with volume analysis
Use candlestick patterns at hub boundaries
Wait for breakout confirmation
Risk Management
Always place stops outside hub zones
Use hub width to size positions (wider hub = smaller position)
Exit if price re-enters broken hub from wrong direction
Avoid Common Pitfalls
Don't trade within central hubs (range-bound, unpredictable)
Don't ignore higher timeframe hub structures
Don't chase strokes after they've extended far from hub
Don't trust single-stroke hubs (need 3+ strokes for validity)
Performance Considerations
Max Bars Limit: Set to 3600 to balance detail with performance
Safe Distance Calculation: Only draws objects within 2000 bars of current price
Object Cleanup: Automatically removes old drawing objects to prevent memory issues
Efficient Arrays: Uses indexed arrays for fast lookup and processing
Ideal Market Conditions
Best Performance:
Liquid markets with clear structure (major forex pairs, indices, large-cap stocks)
Trending markets with periodic consolidations
Medium to high volatility for clear stroke formation
Less Effective:
Extremely choppy, directionless markets
Very low timeframes (< 5 minutes) with excessive noise
Illiquid instruments with erratic price action
Integration with Other Indicators
Complementary Tools:
Volume Profile: Confirm hub significance with volume nodes
Moving Averages: Use for trend bias within stroke structure
RSI/MACD: Momentum confirmation at hub boundaries
Fibonacci Retracements: Hub levels often align with Fib levels
Advantages
โ Objective Structure: Removes subjectivity from market structure analysis
โ Visual Clarity: Color-coded strokes and clear hub zones
โ Multi-Timeframe Applicable: Works on all timeframes from minutes to months
โ Complete Framework: Provides entry, exit, and risk management levels
โ Theoretical Foundation: Based on proven Chan Theory methodology
โ Customizable: Extensive parameter and visual customization options
Limitations
โ Learning Curve: Requires understanding of Chan Theory principles
โ Lag Factor: Strokes confirm after price movements complete
โ Parameter Sensitivity: Different settings produce significantly different results
โ Choppy Market Struggles: Can generate excessive hubs in range-bound conditions
โ Computation Intensive: May slow down on lower-end systems with max bars setting
Optimization Tips
Timeframe Selection
Scalping: 5-15 minute charts, lookback period 3-4
Day Trading: 15-60 minute charts, lookback period 4-5
Swing Trading: 4-hour to daily charts, lookback period 5-7
Position Trading: Daily to weekly charts, lookback period 7-10
Volatility Adjustment
High volatility: Increase minimum gap bars to reduce noise
Low volatility: Decrease lookback period to capture smaller moves
Visual Optimization
Use contrasting colors for different market conditions
Adjust line widths based on chart resolution
Toggle markers off for cleaner appearance once familiar with structure
Quick Start Guide
For Beginners:
Start with default settings (5 lookback, 4 min gap)
Enable "Show Info Table" to track stroke count
Focus on identifying clear hub formations
Practice waiting for price to break hub boundaries before trading
For Advanced Users:
Optimize lookback and gap parameters for your instrument
Use hub strokes (yellow) to identify key consolidation zones
Combine with multiple timeframes for confirmation
Develop entry rules based on hub breakout/retest patterns
This indicator provides a complete structural framework for understanding market behavior through the lens of Chan Theory, offering traders a systematic approach to identifying high-probability trading opportunities.
Stochastic RSI - WT Confluence Signal Detectors (TraderDemircan)Description
What This Indicator Does:
This indicator combines two powerful momentum oscillatorsโWaveTrend and Stochastic RSIโto identify high-probability trading signals through confluence. Instead of relying on a single indicator that may generate false signals, this tool only triggers buy/sell alerts when both oscillators simultaneously confirm extreme market conditions and trend reversals. This confluence approach significantly reduces noise and helps traders focus on the most reliable setups.
Key Features:
Dual-Oscillator Confluence: Generates signals only when both WaveTrend crossovers and Stochastic RSI extreme levels align
Normalized Scale Display: Both oscillators are plotted on a unified -100 to +100 scale for easy visual comparison
Visual Signal Confirmation: Clear intersection points marked with colored circles, plus optional candle coloring at crossover moments
Customizable Thresholds: Adjust overbought/oversold levels for both oscillators to match your trading style and asset volatility
Clean Visual Presentation: Optional area fill showing WaveTrend momentum difference, making divergences easier to spot
How It Works:
The indicator operates on a confluence principle where multiple conditions must align:
For BUY Signals (Green):
WaveTrend 1 crosses above WaveTrend 2 (bullish crossover)
WaveTrend is in oversold territory (below -53 or -60)
Stochastic RSI K-line is below 20 (oversold)
For SELL Signals (Red):
WaveTrend 1 crosses below WaveTrend 2 (bearish crossover)
WaveTrend is in overbought territory (above 53 or 60)
Stochastic RSI K-line is above 80 (overbought)
WaveTrend Component:
Uses the hlc3 price (average of high, low, close) to calculate a channel index that identifies market momentum waves. The two WaveTrend lines (WT1 and WT2) act similarly to MACD, where crossovers indicate momentum shifts. The oscillator ranges from approximately -100 to +100, with extreme values suggesting potential reversals.
Stochastic RSI Component:
Applies stochastic calculations to RSI values rather than raw price, creating a more sensitive momentum indicator. Values above 80 indicate overbought conditions (potential selling opportunity), while values below 20 indicate oversold conditions (potential buying opportunity). The indicator includes both K-line (faster) and D-line (slower, smoothed) for additional confirmation.
Normalization Technology:
To enable direct visual comparison, the Stochastic RSI (normally 0-100 scale) is normalized to match WaveTrend's -100 to +100 scale. This allows traders to see both oscillators' movements in relation to the same reference levels, making divergences and convergences more apparent.
How to Use:
For Trend Traders:
Wait for confluence signals in the direction of the larger trend
Use buy signals in uptrends as entry points during pullbacks
Use sell signals in downtrends as entry points during bounces
For Reversal Traders:
Focus on confluence signals at major support/resistance levels
Look for divergences between price and oscillators before confluence signals
Consider stronger signals when both oscillators reach extreme levels (WT beyond ยฑ60, Stoch beyond 20/80)
For Scalpers:
Lower the WaveTrend Channel Length (default 10) to 5-7 for more frequent signals
Tighten overbought/oversold thresholds slightly (e.g., WT: ยฑ50, Stoch: 30/70)
Use on lower timeframes (5m, 15m) with strict stop losses
Settings Guide:
WaveTrend Parameters:
Channel Length (10): Controls sensitivity. Lower = more signals but more noise. Higher = fewer but more reliable signals
Average Length (21): Smoothing period for WT2. Higher values reduce whipsaws
Overbought Levels (60/53): Two-tier system. Breaching 60 indicates strong overbought, 53 is moderate
Oversold Levels (-60/-53): Mirror of overbought levels for downside extremes
Stochastic RSI Parameters:
K-Smooth (3): Smoothing for the K-line. Higher = smoother but delayed
D-Smooth (3): Additional smoothing for the D-line signal
RSI Period (14): Standard RSI calculation period
Stoch Period (14): Stochastic calculation lookback
Oversold (20) / Overbought (80): Classic thresholds for extreme conditions
Visual Options:
Show WT Difference Area: Displays the momentum difference between WT1 and WT2 as a blue shaded area
Show WT Intersection Points: Marks crossover points with colored circles (red for bearish, green for bullish)
Color Candles at Intersection: Changes candle colors at crossover moments (blue for bearish, yellow for bullish)
Show Stoch Over Signals: Displays when Stochastic RSI breaches extreme levels
What Makes This Original:
While WaveTrend and Stochastic RSI are established indicators, this script's originality lies in:
Confluence Logic: The specific combination requiring simultaneous confirmation from both oscillators in extreme zones, not just simple crossovers
Normalization Approach: Displaying both oscillators on the same -100 to +100 scale for direct visual comparison, which is not standard
Multi-Tier Overbought/Oversold: Using two levels (60/53) instead of one, allowing for nuanced signal strength assessment
Integrated Visual System: Combining area fills, intersection markers, and candle coloring in a coordinated display that shows momentum flow at a glance
Important Considerations:
This is a momentum-based oscillator system, which performs best in ranging or trending markets with clear swings
In strong trending markets, the oscillator may remain in extreme zones for extended periods (remain overbought during strong uptrends, oversold during strong downtrends)
Confluence signals are intentionally rare to maintain qualityโexpect fewer signals than with single-indicator systems
Always combine with price action analysis, support/resistance levels, and proper risk management
Not recommended for extremely low volatility or thin markets where oscillators may produce erratic readings
Best Timeframes:
Intraday: 15m, 1H (with tighter parameters)
Swing Trading: 4H, Daily (with default parameters)
Position Trading: Daily, Weekly (with extended Channel Length 15-20)
Typical Use Cases:
Identifying exhaustion points in trending markets
Timing entries during pullbacks in established trends
Spotting potential reversal zones at key price levels
Filtering out weak momentum signals during consolidation
TraderDemircan (Triz Global) Automatic Extend FibonacciDescription
What This Indicator Does:
This indicator automatically identifies the most significant swing low and swing high points within a customizable lookback period and plots comprehensive Fibonacci retracement and extension levels between them. Unlike manual Fibonacci tools, this script continuously updates the levels based on the most recent price action, making it ideal for traders who want to identify key support/resistance zones without constantly redrawing Fibonacci levels.
Key Features:
Automatic Swing Point Detection: Scans the specified lookback period to find the lowest low (starting point) and the highest high (ending point) to establish the Fibonacci range
Comprehensive Level Coverage: Plots 18 Fibonacci levels ranging from 0.0 (minimum) to 3.618 (maximum extension), including standard retracement levels (0.236, 0.382, 0.5, 0.618, 0.786) and popular extension levels (1.272, 1.414, 1.618, 2.0, 2.272, 2.382, 2.618, 3.0, 3.272, 3.618)
Visual Clarity: Each level is color-coded and can be individually toggled on/off for cleaner charts
Price and Percentage Labels: Shows both the actual price level and the Fibonacci percentage for easy reference
Flexible Display Options: Customize line width, style (solid/dashed/dotted), and extension direction
Dynamic Updates: Automatically recalculates levels as new price data becomes available
How It Works:
The indicator uses a left-to-right methodology, starting from the swing low (marked as 0.0 with a green diamond) and extending to the swing high (marked as 1.0 with a blue diamond). This approach follows natural price movement and makes the Fibonacci levels intuitive to read. The algorithm:
Identifies the lowest point within the lookback period (this becomes the 0.0 level)
Finds the highest point that occurred after the low point (this becomes the 1.0 level)
Calculates all retracement levels (0.0-1.0) and extension levels (above 1.0) based on this range
Plots horizontal lines with customizable styling and labels
How to Use:
For Retracement Trading: Watch for price reactions at key levels like 0.382, 0.5, and 0.618 (the Golden Ratio) during pullbacks in an uptrend
For Extension Targets: Use levels above 1.0 (especially 1.272, 1.414, and 1.618) to project potential profit targets
Adjust Sensitivity: Increase the "Pivot Sensibility" parameter for major swings only, or decrease it to capture more frequent price movements
Customize Lookback: Shorter periods (50-100 bars) work well for intraday trading, while longer periods (200-500 bars) suit swing trading and position trading
Settings:
Lookback Period: Controls how many candles back to search (10-500)
Pivot Sensibility: Determines the strength required to identify swing points (1-20)
Individual Level Toggles: Enable/disable any of the 18 Fibonacci levels
Visual Customization: Change colors, line thickness (1-5), and line style for each level
Label Options: Toggle price labels and percentage labels independently
Extension Controls: Choose to extend lines left, right, or both directions
What Makes This Original:
This indicator combines automatic swing detection with an extensive range of Fibonacci levels (18 total) that go well beyond the standard retracement tool. The left-to-right calculation methodology ensures logical level placement, while the comprehensive customization options allow traders to adapt the visual presentation to their specific trading style and chart setup.
Note: This indicator is designed for visual analysis and does not generate buy/sell signals. It's a tool to help identify potential support/resistance zones based on Fibonacci ratios. Always combine with other technical analysis methods and proper risk management.
DAO - Demand Advanced Oscillator# DAO - Demand Advanced Oscillator
## ๐ Overview
DAO (Demand Advanced Oscillator) is a powerful momentum oscillator that measures buying and selling pressure by analyzing consecutive high-low relationships. It helps identify market extremes, divergences, and potential trend reversals.
**Values range from 0 to 1:**
- **Above 0.70** = Overbought (potential reversal down)
- **Below 0.30** = Oversold (potential reversal up)
- **0.30 - 0.70** = Neutral zone
---
## โจ Key Features
โ
**Automatic Divergence Detection**
- Bullish divergences (price lower low + DAO higher low)
- Bearish divergences (price higher high + DAO lower high)
- Visual lines connecting divergence points
โ
**Multi-Timeframe Analysis**
- View higher timeframe DAO on current chart
- Perfect for trend alignment strategies
โ
**Signal Line (EMA)**
- Customizable EMA for trend confirmation
- Crossover signals for momentum shifts
โ
**Real-Time Statistics Dashboard**
- Current DAO value
- Market status (Overbought/Oversold/Neutral)
- Trend direction indicator
โ
**Complete Alert System**
- Overbought/Oversold signals
- Bullish/Bearish divergences
- Signal line crosses
- Level crosses
โ
**Fully Customizable**
- Adjustable periods and levels
- Customizable colors and zones
- Toggle features on/off
---
## ๐ Trading Signals
### 1. Divergences (Most Powerful)
**Bullish Divergence:**
- Price makes lower low
- DAO makes higher low
- Signal: Strong reversal up likely
**Bearish Divergence:**
- Price makes higher high
- DAO makes lower high
- Signal: Strong reversal down likely
### 2. Overbought/Oversold
**Overbought (>0.70):**
- Market may be overextended
- Consider taking profits or looking for shorts
- Can remain overbought in strong trends
**Oversold (<0.30):**
- Market may be oversold
- Consider buying opportunities
- Can remain oversold in strong downtrends
### 3. Signal Line Crossovers
**Bullish Cross:**
- DAO crosses above signal line
- Momentum turning positive
**Bearish Cross:**
- DAO crosses below signal line
- Momentum turning negative
### 4. Level Crosses
**Cross Above 0.30:** Exiting oversold zone (potential uptrend)
**Cross Below 0.70:** Exiting overbought zone (potential downtrend)
---
## โ๏ธ Default Settings
๐ Oscillator Period: 14
Number of bars for calculation
๐ Signal Line Period: 9
EMA period for signal line
๐ด Overbought Level: 0.70
Upper threshold
๐ข Oversold Level: 0.30
Lower threshold
๐ฏ Divergence Detection: ON
Auto divergence identification
โฐ Multi-Timeframe: OFF
Higher TF overlay (optional)
All parameters are fully customizable!
---
## ๐ Alerts
Six pre-configured alerts available:
1. DAO Overbought
2. DAO Oversold
3. DAO Bullish Divergence
4. DAO Bearish Divergence
5. DAO Signal Cross Up
6. DAO Signal Cross Down
**Setup:** Right-click indicator โ Add Alert โ Choose condition
---
## ๐ก How to Use
### Best Practices:
โ
Focus on divergences (strongest signals)
โ
Combine with support/resistance levels
โ
Use multiple timeframes for confirmation
โ
Wait for price action confirmation
โ
Practice proper risk management
### Avoid:
โ Trading on indicator alone
โ Fighting strong trends
โ Ignoring market context
โ Overtrading
### Recommended Settings by Trading Style:
**Day Trading:** Period 7-10, All alerts ON
**Swing Trading:** Period 14-21, Divergence alerts
**Scalping:** Period 5-7, Signal crosses
**Position Trading:** Period 21-30, Weekly/Daily TF
---
## ๐ Markets & Timeframes
**Works on all markets:**
- Forex (all pairs)
- Stocks (all exchanges)
- Cryptocurrencies
- Commodities
- Indices
- Futures
**Works on all timeframes:** 1m to Monthly
---
## ๐ How It Works
DAO calculates the ratio of buying pressure to total market pressure:
1. **Calculate Buying Pressure (DemandMax):**
- If current high > previous high: DemandMax = difference
- Otherwise: DemandMax = 0
2. **Calculate Selling Pressure (DemandMin):**
- If previous low > current low: DemandMin = difference
- Otherwise: DemandMin = 0
3. **Apply Smoothing:**
- Calculate SMA of DemandMax over N periods
- Calculate SMA of DemandMin over N periods
4. **Final Formula:**
```
DAO = SMA(DemandMax) / (SMA(DemandMax) + SMA(DemandMin))
```
This produces a normalized value (0-1) representing market demand strength.
---
## ๐ฏ Trading Strategies
### Strategy 1: Divergence Trading
- Wait for divergence label
- Confirm at support/resistance
- Enter on confirming candle
- Stop loss beyond recent swing
- Target: opposite level or 0.50
### Strategy 2: Overbought/Oversold
- Best for ranging markets
- Wait for extreme readings
- Enter on reversal from extremes
- Target: middle line (0.50)
### Strategy 3: Trend Following
- Identify trend direction first
- Use DAO to time entries in trend direction only
- Enter on pullbacks to oversold (uptrend) or overbought (downtrend)
- Trade with the trend
### Strategy 4: Multi-Timeframe
- Enable MTF feature
- Trade only when both timeframes align
- Higher TF = trend direction
- Lower TF = precise entry
---
## ๐ Category
**Primary:** Oscillators
**Secondary:** Statistics, Volatility, Momentum
---
## ๐ท๏ธ Tags
dao, oscillator, momentum, overbought-oversold, divergence, reversal, demand-indicator, price-exhaustion, statistics, volatility, forex, stocks, crypto, multi-timeframe, technical-analysis
---
## โ ๏ธ Disclaimer
**This indicator is for educational purposes only.** It does not constitute financial advice. Trading involves substantial risk of loss. Always conduct your own research, use proper risk management, and consult with financial professionals before making trading decisions. Past performance does not guarantee future results.
---
## ๐ License
Open source - Free to use for personal trading, modify as needed, and share with attribution.
---
**Version:** 1.0
**Status:** Production Ready โ
**Pine Script:** v5
**Trademark-Free:** 100% Safe to Publish
---
*Made with ๐ for traders worldwide*
Swing High/Low Support ResistanceThis indicator detects recent swing highs and swing lows using Pine Script pivots and marks them with visible chart labels. These points highlight potential turning areas in price action and can help identify short-term support or resistance for intraday or swing trading.
How to Apply
Locate the indicator in TradingViewโs โIndicatorsโ library; search by its name or author.
Click the star icon to mark it as a favourite for quick future access.
Apply directly to your chosen chart and timeframe with a single clickโno need to enter or paste code.
Adjust the input parameters from the settings panel if desired to personalize swing sensitivity.
Choose Your Timeframe:
Apply to any intraday or swing timeframe; shorter lengths show more frequent pivots.
Set Sensitivity:
Use the โSwing Detection Lengthโ input to adjust how many bars define a pivot, making swings more or less sensitive to price action.
How to Analyze
Swing High Labels: Mark recent local peaks, suggesting resistance zones or possible reversal points.
Swing Low Labels: Highlight recent bottoms, indicating support or bounce areas.
Monitor labels for clustering or repeated appearance at similar levels, which may strengthen their importance as price reacts near those points.
Track how price behaves after forming new pivotsโmultiple tests can affirm the relevance of a level.
What Traders Should Watch
Price reaction at labeled areas: frequent tests may anticipate reversals or breakouts.
Transition between higher highs/higher lows (uptrend) vs. lower highs/lower lows (downtrend).
Combine the swing levels with other analysis methods, such as volume, RSI, or EMA, for better signal quality.
Features Included
Dynamic swing high and low detection via confirmed pivots.
Direct labeling on the chart for market structure clarity.
No repaintingโlabels show only after complete formation.
Fully automatic updates as price action unfolds.
No promotional, external, or non-compliant elements; open source and safe for public or private use.
Compliance Notes
No signals, buy/sell calls, financial advice, or performance claims.
No hidden code, advertising, or off-platform contacts.
Pure educational and analytical utility; adheres to all TradingView house rules and script publishing policies.โ
Disclaimer
This indicator is for informational purposes only and does not constitute advice. Always do your own research and use proper risk management.
Algorithm Predator - ML-liteAlgorithm Predator - ML-lite
This indicator combines four specialized trading agents with an adaptive multi-armed bandit selection system to identify high-probability trade setups. It is designed for swing and intraday traders who want systematic signal generation based on institutional order flow patterns , momentum exhaustion , liquidity dynamics , and statistical mean reversion .
Core Architecture
Why These Components Are Combined:
The script addresses a fundamental challenge in algorithmic trading: no single detection method works consistently across all market conditions. By deploying four independent agents and using reinforcement learning algorithms to select or blend their outputs, the system adapts to changing market regimes without manual intervention.
The Four Trading Agents
1. Spoofing Detector Agent ๐ญ
Detects iceberg orders through persistent volume at similar price levels over 5 bars
Identifies spoofing patterns via asymmetric wick analysis (wicks exceeding 60% of bar range with volume >1.8ร average)
Monitors order clustering using simplified Hawkes process intensity tracking (exponential decay model)
Signal Logic: Contrarianโfades false breakouts caused by institutional manipulation
Best Markets: Consolidations, institutional trading windows, low-liquidity hours
2. Exhaustion Detector Agent โก
Calculates RSI divergence between price movement and momentum indicator over 5-bar window
Detects VWAP exhaustion (price at 2ฯ bands with declining volume)
Uses VPIN reversals (volume-based toxic flow dissipation) to identify momentum failure
Signal Logic: Counter-trendโenters when momentum extreme shows weakness
Best Markets: Trending markets reaching climax points, over-extended moves
3. Liquidity Void Detector Agent ๐ง
Measures Bollinger Band squeeze (width <60% of 50-period average)
Identifies stop hunts via 20-bar high/low penetration with immediate reversal and volume spike
Detects hidden liquidity absorption (volume >2ร average with range <0.3ร ATR)
Signal Logic: Breakout anticipationโenters after liquidity grab but before main move
Best Markets: Range-bound pre-breakout, volatility compression zones
4. Mean Reversion Agent ๐
Calculates price z-scores relative to 50-period SMA and standard deviation (triggers at ยฑ2ฯ)
Implements Ornstein-Uhlenbeck process scoring (mean-reverting stochastic model)
Uses entropy analysis to detect algorithmic trading patterns (low entropy <0.25 = high predictability)
Signal Logic: Statistical reversionโenters when price deviates significantly from statistical equilibrium
Best Markets: Range-bound, low-volatility, algorithmically-dominated instruments
Adaptive Selection: Multi-Armed Bandit System
The script implements four reinforcement learning algorithms to dynamically select or blend agents based on performance:
Thompson Sampling (Default - Recommended):
Uses Bayesian inference with beta distributions (tracks alpha/beta parameters per agent)
Balances exploration (trying underused agents) vs. exploitation (using proven winners)
Each agent's win/loss history informs its selection probability
Lite Approximation: Uses pseudo-random sampling from price/volume noise instead of true random number generation
UCB1 (Upper Confidence Bound):
Calculates confidence intervals using: average_reward + sqrt(2 ร ln(total_pulls) / agent_pulls)
Deterministic algorithm favoring agents with high uncertainty (potential upside)
More conservative than Thompson Sampling
Epsilon-Greedy:
Exploits best-performing agent (1-ฮต)% of the time
Explores randomly ฮต% of the time (default 10%, configurable 1-50%)
Simple, transparent, easily tuned via epsilon parameter
Gradient Bandit:
Uses softmax probability distribution over agent preference weights
Updates weights via gradient ascent based on rewards
Best for Blend mode where all agents contribute
Selection Modes:
Switch Mode: Uses only the selected agent's signal (clean, decisive)
Blend Mode: Combines all agents using exponentially weighted confidence scores controlled by temperature parameter (smooth, diversified)
Lock Agent Feature:
Optional manual override to force one specific agent
Useful after identifying which agent dominates your specific instrument
Only applies in Switch mode
Four choices: Spoofing Detector, Exhaustion Detector, Liquidity Void, Mean Reversion
Memory System
Dual-Layer Architecture:
Short-Term Memory: Stores last 20 trade outcomes per agent (configurable 10-50)
Long-Term Memory: Stores episode averages when short-term reaches transfer threshold (configurable 5-20 bars)
Memory Boost Mechanism: Recent performance modulates agent scores by up to ยฑ20%
Episode Transfer: When an agent accumulates sufficient results, averages are condensed into long-term storage
Persistence: Manual restoration of learned parameters via input fields (alpha, beta, weights, microstructure thresholds)
How Memory Works:
Agent generates signal โ outcome tracked after 8 bars (performance horizon)
Result stored in short-term memory (win = 1.0, loss = 0.0)
Short-term average influences agent's future scores (positive feedback loop)
After threshold met (default 10 results), episode averaged into long-term storage
Long-term patterns (weighted 30%) + short-term patterns (weighted 70%) = total memory boost
Market Microstructure Analysis
These advanced metrics quantify institutional order flow dynamics:
Order Flow Toxicity (Simplified VPIN):
Measures buy/sell volume imbalance over 20 bars: |buy_vol - sell_vol| / (buy_vol + sell_vol)
Detects informed trading activity (institutional players with non-public information)
Values >0.4 indicate "toxic flow" (informed traders active)
Lite Approximation: Uses simple open/close heuristic instead of tick-by-tick trade classification
Price Impact Analysis (Simplified Kyle's Lambda):
Measures market impact efficiency: |price_change_10| / sqrt(volume_sum_10)
Low values = large orders with minimal price impact ( stealth accumulation )
High values = retail-dominated moves with high slippage
Lite Approximation: Uses simplified denominator instead of regression-based signed order flow
Market Randomness (Entropy Analysis):
Counts unique price changes over 20 bars / 20
Measures market predictability
High entropy (>0.6) = human-driven, chaotic price action
Low entropy (<0.25) = algorithmic trading dominance (predictable patterns)
Lite Approximation: Simple ratio instead of true Shannon entropy H(X) = -ฮฃ p(x)ยทlogโ(p(x))
Order Clustering (Simplified Hawkes Process):
Tracks self-exciting event intensity (coordinated order activity)
Decays at 0.9ร per bar, spikes +1.0 when volume >1.5ร average
High intensity (>0.7) indicates clustering (potential spoofing/accumulation)
Lite Approximation: Simple exponential decay instead of full ฮป(t) = ฮผ + ฮฃ ฮฑยทexp(-ฮฒ(t-tแตข)) with MLE
Signal Generation Process
Multi-Stage Validation:
Stage 1: Agent Scoring
Each agent calculates internal score based on its detection criteria
Scores must exceed agent-specific threshold (adjusted by sensitivity multiplier)
Agent outputs: Signal direction (+1/-1/0) and Confidence level (0.0-1.0)
Stage 2: Memory Boost
Agent scores multiplied by memory boost factor (0.8-1.2 based on recent performance)
Successful agents get amplified, failing agents get dampened
Stage 3: Bandit Selection/Blending
If Adaptive Mode ON:
Switch: Bandit selects single best agent, uses only its signal
Blend: All agents combined using softmax-weighted confidence scores
If Adaptive Mode OFF:
Traditional consensus voting with confidence-squared weighting
Signal fires when consensus exceeds threshold (default 70%)
Stage 4: Confirmation Filter
Raw signal must repeat for consecutive bars (default 3, configurable 2-4)
Minimum confidence threshold: 0.25 (25%) enforced regardless of mode
Trend alignment check: Long signals require trend_score โฅ -2, Short signals require trend_score โค 2
Stage 5: Cooldown Enforcement
Minimum bars between signals (default 10, configurable 5-15)
Prevents over-trading during choppy conditions
Stage 6: Performance Tracking
After 8 bars (performance horizon), signal outcome evaluated
Win = price moved in signal direction, Loss = price moved against
Results fed back into memory and bandit statistics
Trading Modes (Presets)
Pre-configured parameter sets:
Conservative: 85% consensus, 4 confirmations, 15-bar cooldown
Expected: 60-70% win rate, 3-8 signals/week
Best for: Swing trading, capital preservation, beginners
Balanced: 70% consensus, 3 confirmations, 10-bar cooldown
Expected: 55-65% win rate, 8-15 signals/week
Best for: Day trading, most traders, general use
Aggressive: 60% consensus, 2 confirmations, 5-bar cooldown
Expected: 50-58% win rate, 15-30 signals/week
Best for: Scalping, high-frequency trading, active management
Elite: 75% consensus, 3 confirmations, 12-bar cooldown
Expected: 58-68% win rate, 5-12 signals/week
Best for: Selective trading, high-conviction setups
Adaptive: 65% consensus, 2 confirmations, 8-bar cooldown
Expected: Varies based on learning
Best for: Experienced users leveraging bandit system
How to Use
1. Initial Setup (5 Minutes):
Select Trading Mode matching your style (start with Balanced)
Enable Adaptive Learning (recommended for automatic agent selection)
Choose Thompson Sampling algorithm (best all-around performance)
Keep Microstructure Metrics enabled for liquid instruments (>100k daily volume)
2. Agent Tuning (Optional):
Adjust Agent Sensitivity multipliers (0.5-2.0):
<0.8 = Highly selective (fewer signals, higher quality)
0.9-1.2 = Balanced (recommended starting point)
1.3 = Aggressive (more signals, lower individual quality)
Monitor dashboard for 20-30 signals to identify dominant agent
If one agent consistently outperforms, consider using Lock Agent feature
3. Bandit Configuration (Advanced):
Blend Temperature (0.1-2.0):
0.3 = Sharp decisions (best agent dominates)
0.5 = Balanced (default)
1.0+ = Smooth (equal weighting, democratic)
Memory Decay (0.8-0.99):
0.90 = Fast adaptation (volatile markets)
0.95 = Balanced (most instruments)
0.97+ = Long memory (stable trends)
4. Signal Interpretation:
Green triangle (โฒ): Long signal confirmed
Red triangle (โผ): Short signal confirmed
Dashboard shows:
Active agent (highlighted row with โบ marker)
Win rate per agent (green >60%, yellow 40-60%, red <40%)
Confidence bars (โโโโโ = maximum confidence)
Memory size (short-term buffer count)
Colored zones display:
Entry level (current close)
Stop-loss (1.5ร ATR)
Take-profit 1 (2.0ร ATR)
Take-profit 2 (3.5ร ATR)
5. Risk Management:
Never risk >1-2% per signal (use ATR-based stops)
Signals are entry triggers, not complete strategies
Combine with your own market context analysis
Consider fundamental catalysts and news events
Use "Confirming" status to prepare entries (not to enter early)
6. Memory Persistence (Optional):
After 50-100 trades, check Memory Export Panel
Record displayed alpha/beta/weight values for each agent
Record VPIN and Kyle threshold values
Enable "Restore From Memory" and input saved values to continue learning
Useful when switching timeframes or restarting indicator
Visual Components
On-Chart Elements:
Spectral Layers: EMA8 ยฑ 0.5 ATR bands (dynamic support/resistance, colored by trend)
Energy Radiance: Multi-layer glow boxes at signal points (intensity scales with confidence, configurable 1-5 layers)
Probability Cones: Projected price paths with uncertainty wedges (15-bar projection, width = confidence ร ATR)
Connection Lines: Links sequential signals (solid = same direction continuation, dotted = reversal)
Kill Zones: Risk/reward boxes showing entry, stop-loss, and dual take-profit targets
Signal Markers: Triangle up/down at validated entry points
Dashboard (Configurable Position & Size):
Regime Indicator: 4-level trend classification (Strong Bull/Bear, Weak Bull/Bear)
Mode Status: Shows active system (Adaptive Blend, Locked Agent, or Consensus)
Agent Performance Table: Real-time win%, confidence, and memory stats
Order Flow Metrics: Toxicity and impact indicators (when microstructure enabled)
Signal Status: Current state (Long/Short/Confirming/Waiting) with confirmation progress
Memory Panel (Configurable Position & Size):
Live Parameter Export: Alpha, beta, and weight values per agent
Adaptive Thresholds: Current VPIN sensitivity and Kyle threshold
Save Reminder: Visual indicator if parameters should be recorded
What Makes This Original
This script's originality lies in three key innovations:
1. Genuine Meta-Learning Framework:
Unlike traditional indicator mashups that simply display multiple signals, this implements authentic reinforcement learning (multi-armed bandits) to learn which detection method works best in current conditions. The Thompson Sampling implementation with beta distribution tracking (alpha for successes, beta for failures) is statistically rigorous and adapts continuously. This is not post-hoc optimizationโit's real-time learning.
2. Episodic Memory Architecture with Transfer Learning:
The dual-layer memory system mimics human learning patterns:
Short-term memory captures recent performance (recency bias)
Long-term memory preserves historical patterns (experience)
Automatic transfer mechanism consolidates knowledge
Memory boost creates positive feedback loops (successful strategies become stronger)
This architecture allows the system to adapt without retraining , unlike static ML models that require batch updates.
3. Institutional Microstructure Integration:
Combines retail-focused technical analysis (RSI, Bollinger Bands, VWAP) with institutional-grade microstructure metrics (VPIN, Kyle's Lambda, Hawkes processes) typically found in academic finance literature and professional trading systems, not standard retail platforms. While simplified for Pine Script constraints, these metrics provide insight into informed vs. uninformed trading , a dimension entirely absent from traditional technical analysis.
Mashup Justification:
The four agents are combined specifically for risk diversification across failure modes:
Spoofing Detector: Prevents false breakout losses from manipulation
Exhaustion Detector: Prevents chasing extended trends into reversals
Liquidity Void: Exploits volatility compression (different regime than trending)
Mean Reversion: Provides mathematical anchoring when patterns fail
The bandit system ensures the optimal tool is automatically selected for each market situation, rather than requiring manual interpretation of conflicting signals.
Why "ML-lite"? Simplifications and Approximations
This is the "lite" version due to necessary simplifications for Pine Script execution:
1. Simplified VPIN Calculation:
Academic Implementation: True VPIN uses volume bucketing (fixed-volume bars) and tick-by-tick buy/sell classification via Lee-Ready algorithm or exchange-provided trade direction flags
This Implementation: 20-bar rolling window with simple open/close heuristic (close > open = buy volume)
Impact: May misclassify volume during ranging/choppy markets; works best in directional moves
2. Pseudo-Random Sampling:
Academic Implementation: Thompson Sampling requires true random number generation from beta distributions using inverse transform sampling or acceptance-rejection methods
This Implementation: Deterministic pseudo-randomness derived from price and volume decimal digits: (close ร 100 - floor(close ร 100)) + (volume % 100) / 100
Impact: Not cryptographically random; may have subtle biases in specific price ranges; provides sufficient variation for agent selection
3. Hawkes Process Approximation:
Academic Implementation: Full Hawkes process uses maximum likelihood estimation with exponential kernels: ฮป(t) = ฮผ + ฮฃ ฮฑยทexp(-ฮฒ(t-tแตข)) fitted via iterative optimization
This Implementation: Simple exponential decay (0.9 multiplier) with binary event triggers (volume spike = event)
Impact: Captures self-exciting property but lacks parameter optimization; fixed decay rate may not suit all instruments
4. Kyle's Lambda Simplification:
Academic Implementation: Estimated via regression of price impact on signed order flow over multiple time intervals: ฮp = ฮป ร ฮv + ฮต
This Implementation: Simplified ratio: price_change / sqrt(volume_sum) without proper signed order flow or regression
Impact: Provides directional indicator of impact but not true market depth measurement; no statistical confidence intervals
5. Entropy Calculation:
Academic Implementation: True Shannon entropy requires probability distribution: H(X) = -ฮฃ p(x)ยทlogโ(p(x)) where p(x) is probability of each price change magnitude
This Implementation: Simple ratio of unique price changes to total observations (variety measure)
Impact: Measures diversity but not true information entropy with probability weighting; less sensitive to distribution shape
6. Memory System Constraints:
Full ML Implementation: Neural networks with backpropagation, experience replay buffers (storing state-action-reward tuples), gradient descent optimization, and eligibility traces
This Implementation: Fixed-size array queues with simple averaging; no gradient-based learning, no state representation beyond raw scores
Impact: Cannot learn complex non-linear patterns; limited to linear performance tracking
7. Limited Feature Engineering:
Advanced Implementation: Dozens of engineered features, polynomial interactions (xยฒ, xยณ), dimensionality reduction (PCA, autoencoders), feature selection algorithms
This Implementation: Raw agent scores and basic market metrics (RSI, ATR, volume ratio); minimal transformation
Impact: May miss subtle cross-feature interactions; relies on agent-level intelligence rather than feature combinations
8. Single-Instrument Data:
Full Implementation: Multi-asset correlation analysis (sector ETFs, currency pairs, volatility indices like VIX), lead-lag relationships, risk-on/risk-off regimes
This Implementation: Only OHLCV data from displayed instrument
Impact: Cannot incorporate broader market context; vulnerable to correlated moves across assets
9. Fixed Performance Horizon:
Full Implementation: Adaptive horizon based on trade duration, volatility regime, or profit target achievement
This Implementation: Fixed 8-bar evaluation window
Impact: May evaluate too early in slow markets or too late in fast markets; one-size-fits-all approach
Performance Impact Summary:
These simplifications make the script:
โ
Faster: Executes in milliseconds vs. seconds (or minutes) for full academic implementations
โ
More Accessible: Runs on any TradingView plan without external data feeds, APIs, or compute servers
โ
More Transparent: All calculations visible in Pine Script (no black-box compiled models)
โ
Lower Resource Usage: <500 bars lookback, minimal memory footprint
โ ๏ธ Less Precise: Approximations may reduce statistical edge by 5-15% vs. academic implementations
โ ๏ธ Limited Scope: Cannot capture tick-level dynamics, multi-order-book interactions, or cross-asset flows
โ ๏ธ Fixed Parameters: Some thresholds hardcoded rather than dynamically optimized
When to Upgrade to Full Implementation:
Consider professional Python/C++ versions with institutional data feeds if:
Trading with >$100K capital where precision differences materially impact returns
Operating in microsecond-competitive environments (HFT, market making)
Requiring regulatory-grade audit trails and reproducibility
Backtesting with tick-level precision for strategy validation
Need true real-time adaptation with neural network-based learning
For retail swing/day trading and position management, these approximations provide sufficient signal quality while maintaining usability, transparency, and accessibility. The core logicโmulti-agent detection with adaptive selectionโremains intact.
Technical Notes
All calculations use standard Pine Script built-in functions ( ta.ema, ta.atr, ta.rsi, ta.bb, ta.sma, ta.stdev, ta.vwap )
VPIN and Kyle's Lambda use simplified formulas optimized for OHLCV data (see "Lite" section above)
Thompson Sampling uses pseudo-random noise from price/volume decimal digits for beta distribution sampling
No repainting: All calculations use confirmed bar data (no forward-looking)
Maximum lookback: 500 bars (set via max_bars_back parameter)
Performance evaluation: 8-bar forward-looking window for reward calculation (clearly disclosed)
Confidence threshold: Minimum 0.25 (25%) enforced on all signals
Memory arrays: Dynamic sizing with FIFO queue management
Limitations and Disclaimers
Not Predictive: This indicator identifies patterns in historical data. It cannot predict future price movements with certainty.
Requires Human Judgment: Signals are entry triggers, not complete trading strategies. Must be confirmed with your own analysis, risk management rules, and market context.
Learning Period Required: The adaptive system requires 50-100 bars minimum to build statistically meaningful performance data for bandit algorithms.
Overfitting Risk: Restoring memory parameters from one market regime to a drastically different regime (e.g., low volatility to high volatility) may cause poor initial performance until system re-adapts.
Approximation Limitations: Simplified calculations (see "Lite" section) may underperform academic implementations by 5-15% in highly efficient markets.
No Guarantee of Profit: Past performance, whether backtested or live-traded, does not guarantee future performance. All trading involves risk of loss.
Forward-Looking Bias: Performance evaluation uses 8-bar forward windowโthis creates slight look-ahead for learning (though not for signals). Real-time performance may differ from indicator's internal statistics.
Single-Instrument Limitation: Does not account for correlations with related assets or broader market regime changes.
Recommended Settings
Timeframe: 15-minute to 4-hour charts (sufficient volatility for ATR-based stops; adequate bar volume for learning)
Assets: Liquid instruments with >100k daily volume (forex majors, large-cap stocks, BTC/ETH, major indices)
Not Recommended: Illiquid small-caps, penny stocks, low-volume altcoins (microstructure metrics unreliable)
Complementary Tools: Volume profile, order book depth, market breadth indicators, fundamental catalysts
Position Sizing: Risk no more than 1-2% of capital per signal using ATR-based stop-loss
Signal Filtering: Consider external confluence (support/resistance, trendlines, round numbers, session opens)
Start With: Balanced mode, Thompson Sampling, Blend mode, default agent sensitivities (1.0)
After 30+ Signals: Review agent win rates, consider increasing sensitivity of top performers or locking to dominant agent
Alert Configuration
The script includes built-in alert conditions:
Long Signal: Fires when validated long entry confirmed
Short Signal: Fires when validated short entry confirmed
Alerts fire once per bar (after confirmation requirements met)
Set alert to "Once Per Bar Close" for reliability
Taking you to school. โ Dskyz, Trade with insight. Trade with anticipation.
Pinbar MTF - No Repaint# Pinbar MTF - No Repaint Indicator
## Complete Technical Documentation
---
## ๐ Overview
**Pinbar MTF (Multi-Timeframe) - No Repaint** is a professional-grade TradingView Pine Script indicator designed to detect high-probability pinbar reversal patterns with advanced filtering systems. The indicator is specifically engineered to be **100% non-repainting**, making it reliable for both live trading and backtesting.
### Key Features
โ
**Non-Repainting** - Signals only appear AFTER bar closes, never disappear
โ
**Three-Layer Filter System** - ATR, SWING, and RSI filters
โ
**Automatic SL/TP Calculation** - Based on risk:reward ratios
โ
**Real-time Alerts** - TradingView notifications for all signals
โ
**Visual Trade Management** - Lines, labels, and areas for entries, stops, and targets
โ
**Backtesting Ready** - Reliable historical data for strategy testing
---
## ๐ฏ What is a Pinbar?
A **Pinbar (Pin Bar/Pinocchio Bar)** is a single candlestick pattern that indicates a potential price reversal:
### Bullish Pinbar (BUY Signal)
- **Long lower wick** (rejection of lower prices)
- **Small body at the top** of the candle
- Shows buyers rejected sellers' attempt to push price down
- Forms at support levels or swing lows
- Entry signal for LONG positions
### Bearish Pinbar (SELL Signal)
- **Long upper wick** (rejection of higher prices)
- **Small body at the bottom** of the candle
- Shows sellers rejected buyers' attempt to push price up
- Forms at resistance levels or swing highs
- Entry signal for SHORT positions
---
## ๐ง How the Indicator Works
### 1. **Pinbar Detection Logic**
The indicator analyzes the **previous closed bar ** to identify pinbar patterns:
```
Bullish Pinbar Requirements:
- Lower wick > 72% of total candle range (adjustable)
- Upper wick < 28% of total candle range
- Close > Open (bullish candle body)
Bearish Pinbar Requirements:
- Upper wick > 72% of total candle range (adjustable)
- Lower wick < 28% of total candle range
- Close < Open (bearish candle body)
```
**Why check ?** By analyzing the previous completed bar, we ensure the pattern is fully formed and won't change, preventing repainting.
---
### 2. **Three-Layer Filter System**
#### ๐ **Filter #1: ATR (Average True Range) Filter**
- **Purpose**: Ensures the pinbar has significant size
- **Function**: Only signals if pinbar range โฅ ATR value
- **Benefit**: Filters out small, insignificant pinbars
- **Settings**:
- Enable/Disable toggle
- ATR Period (default: 7)
**Example**: If ATR = 50 pips, only pinbars with 50+ pip range will signal.
---
#### ๐ **Filter #2: SWING Filter** (Always Active)
- **Purpose**: Confirms pinbar forms at swing highs/lows
- **Function**: Validates the pinbar is an absolute high/low
- **Benefit**: Identifies true reversal points
- **Settings**:
- Swing Candles (default: 3)
**How it works**:
- For bullish pinbar: Checks if low is lowest of past 3 bars
- For bearish pinbar: Checks if high is highest of past 3 bars
**Example**: With 3 swing candles, a bullish pinbar must have the lowest low among the last 3 bars.
---
#### ๐ **Filter #3: RSI (Relative Strength Index) Filter**
- **Purpose**: Confirms momentum conditions
- **Function**: Prevents signals in extreme momentum zones
- **Benefit**: Avoids counter-trend trades
- **Settings**:
- Enable/Disable toggle
- RSI Period (default: 7)
- RSI Source (Close, Open, High, Low, HL2, HLC3, OHLC4)
- Overbought Level (default: 70)
- Oversold Level (default: 30)
**Logic**:
- Bullish Pinbar: Only signals if RSI < 70 (not overbought)
- Bearish Pinbar: Only signals if RSI > 30 (not oversold)
---
### 3. **Stop Loss Calculation**
Two methods available:
#### Method A: ATR-Based Stop Loss (Recommended)
```
Bullish Pinbar:
SL = Pinbar Low - (1 ร ATR)
Bearish Pinbar:
SL = Pinbar High + (1 ร ATR)
```
**Benefit**: Dynamic stops that adapt to market volatility
#### Method B: Fixed Pips Stop Loss
```
Bullish Pinbar:
SL = Pinbar Low - (Fixed Pips)
Bearish Pinbar:
SL = Pinbar High + (Fixed Pips)
```
**Settings**:
- Calculate Stop with ATR (toggle)
- Stop Pips without ATR (default: 5)
---
### 4. **Take Profit Calculation**
Take Profit is calculated based on Risk:Reward ratio:
```
Bullish Trade:
TP = Entry + (Entry - SL) ร Risk:Reward Ratio
Bearish Trade:
TP = Entry - (SL - Entry) ร Risk:Reward Ratio
```
**Example**:
- Entry: 1.2000
- SL: 1.1950 (50 pip risk)
- RR: 2:1
- TP: 1.2100 (100 pip reward = 50 ร 2)
**Settings**:
- Risk:Reward Ratio (default: 1.0, range: 0.1 to 10.0)
---
## ๐ Visual Elements
### On-Chart Displays
1. **Signal Markers**
- ๐ข **Green Triangle Up** = Bullish Pinbar (BUY)
- ๐ด **Red Triangle Down** = Bearish Pinbar (SELL)
- Placed directly on the pinbar candle
2. **Entry Labels**
- Green "BUY" label with entry price
- Red "SELL" label with entry price
- Shows exact entry level
3. **Stop Loss Lines**
- ๐ด Red horizontal line
- "SL" label
- Extends 20 bars forward
4. **Take Profit Lines**
- ๐ข Green horizontal line
- "TP" label
- Extends 20 bars forward
5. **Risk/Reward Areas** (Optional)
- Red shaded box = Risk zone (Entry to SL)
- Green shaded box = Reward zone (Entry to TP)
- Visual risk:reward visualization
6. **Info Table** (Top Right)
- Displays current settings
- Shows filter status (ON/OFF)
- Real-time RSI value
- Quick reference panel
---
## ๐ Alert System
Three alert types available:
### 1. Combined Alert: "Pinbar Signal (Any Direction)"
- Fires for BOTH bullish and bearish pinbars
- **Best for**: General monitoring
- **Message**: "Pinbar Signal Detected on {TICKER} at {PRICE}"
### 2. Bullish Alert: "Bullish Pinbar Alert"
- Fires ONLY for BUY signals
- **Best for**: Long-only strategies
- **Message**: "BUY Signal on {TICKER} at {PRICE}"
### 3. Bearish Alert: "Bearish Pinbar Alert"
- Fires ONLY for SELL signals
- **Best for**: Short-only strategies
- **Message**: "SELL Signal on {TICKER} at {PRICE}"
---
## โ๏ธ Input Parameters Reference
### **Filters Group**
| Parameter | Default | Range | Description |
|-----------|---------|-------|-------------|
| ATR Filter on Pinbar Range? | โ
ON | Boolean | Enable/disable ATR filter |
| ATR Period | 7 | 1+ | Lookback period for ATR calculation |
| Swing Candles | 3 | 1+ | Bars to check for swing high/low |
| RSI Filter on Pinbar? | โ OFF | Boolean | Enable/disable RSI filter |
| RSI Period | 7 | 2+ | Lookback period for RSI calculation |
| RSI Source | Close | Multiple | Price data for RSI (Close/Open/High/Low/etc) |
| RSI Overbought Level | 70 | 50-100 | Upper threshold for RSI filter |
| RSI Oversold Level | 30 | 0-50 | Lower threshold for RSI filter |
### **Pinbar Detection Group**
| Parameter | Default | Range | Description |
|-----------|---------|-------|-------------|
| Shadow % vs Body | 72 | 50-95 | Minimum wick size as % of total range |
### **Visualization Group**
| Parameter | Default | Range | Description |
|-----------|---------|-------|-------------|
| Show SL and TP Lines? | โ
ON | Boolean | Display stop loss and take profit lines |
| Show SL and TP Area? | โ OFF | Boolean | Show shaded risk/reward boxes |
### **Risk Management Group**
| Parameter | Default | Range | Description |
|-----------|---------|-------|-------------|
| Risk:Reward Ratio | 1.0 | 0.1-10.0 | Target profit vs risk (1.0 = 1:1, 2.0 = 1:2) |
| Calculate Stop with ATR? | โ
ON | Boolean | Use ATR for stop calculation |
| Stop Pips without ATR | 5 | 1+ | Fixed pip stop when ATR disabled |
---
## ๐ซ Non-Repainting Architecture
### What is Repainting?
**Repainting** occurs when an indicator's historical signals differ from what appeared in real-time. This makes backtesting unreliable and can lead to false confidence in a strategy.
### How This Indicator Prevents Repainting
1. **Closed Bar Analysis**
- All calculations use ` ` offset (previous bar)
- Only analyzes COMPLETED candles
- Signals appear on the bar AFTER the pinbar closes
2. **Confirmed Swing Points**
- Waits for sufficient bar history before signaling
- Only checks historical bars that cannot change
- Prevents premature swing detection
3. **Static Alert Timing**
- Alerts fire only after bar completion
- No conditional logic that changes historically
- Same results in replay mode and live trading
### Verification Method
To verify non-repainting behavior:
1. Apply indicator to chart
2. Note signal locations and prices
3. Refresh browser / reload chart
4. **Signals remain in exact same locations**
---
## ๐ผ Trading Strategy Guidelines
### Entry Rules
**For Bullish Pinbar (LONG):**
1. Wait for green triangle to appear
2. Enter at close of pinbar (shown in label)
3. Alternative: Enter on break of pinbar high
4. Place stop loss at red SL line
5. Set target at green TP line
**For Bearish Pinbar (SHORT):**
1. Wait for red triangle to appear
2. Enter at close of pinbar (shown in label)
3. Alternative: Enter on break of pinbar low
4. Place stop loss at red SL line
5. Set target at green TP line
### Risk Management
- **Position Sizing**: Risk only 1-2% of account per trade
- **Stop Loss**: Always use the calculated SL (never move it wider)
- **Take Profit**: Use calculated TP or trail stop after 1:1 RR
- **Multiple Timeframes**: Confirm signals on higher timeframe
### Best Practices
โ
**DO:**
- Wait for bar to close before entering
- Trade in direction of higher timeframe trend
- Use on liquid markets with clear support/resistance
- Combine with price action analysis
- Keep a trading journal
โ **DON'T:**
- Enter before bar closes (prevents seeing full pattern)
- Trade against strong trends
- Ignore the filters (they improve win rate)
- Risk more than 2% per trade
- Trade every signal (be selective)
---
## ๐ Backtesting & Data Export
### Available Data Points
The indicator exports these values for strategy development:
| Output | Description |
|--------|-------------|
| Bullish Signal | 1 = BUY signal, 0 = No signal |
| Bearish Signal | 1 = SELL signal, 0 = No signal |
| Bull SL | Stop loss level for long trades |
| Bull TP | Take profit level for long trades |
| Bull Entry | Entry price for long trades |
| Bear SL | Stop loss level for short trades |
| Bear TP | Take profit level for short trades |
| Bear Entry | Entry price for short trades |
### How to Use in Strategy
These values can be accessed by Pine Script strategies using:
```pine
indicator_values = request.security(syminfo.tickerid, timeframe.period,
)
```
---
## ๐ Understanding the Filters
### Why Use Multiple Filters?
Single-indicator systems often generate too many false signals. This indicator uses a **confluence approach**:
1. **Pinbar Pattern** = Price rejection detected
2. **+ SWING Filter** = Rejection at key level
3. **+ ATR Filter** = Significant move
4. **+ RSI Filter** = Favorable momentum
**Result**: Higher probability setups with better risk:reward
### Filter Optimization
**Conservative Settings** (Fewer, Higher Quality Signals):
- ATR Filter: ON
- Swing Candles: 5
- RSI Filter: ON
- Shadow %: 75%
**Aggressive Settings** (More Signals, More Noise):
- ATR Filter: OFF
- Swing Candles: 2
- RSI Filter: OFF
- Shadow %: 65%
**Balanced Settings** (Recommended):
- ATR Filter: ON
- Swing Candles: 3
- RSI Filter: OFF (or ON for trending markets)
- Shadow %: 72%
---
## ๐ Troubleshooting
### "No Signals Appearing"
**Possible Causes:**
1. Filters are too strict
2. No pinbars forming on chart
3. Insufficient bar history
**Solutions:**
- Reduce Shadow % to 65%
- Reduce Swing Candles to 2
- Disable ATR or RSI filters temporarily
- Check that chart has enough data loaded
### "Too Many Signals"
**Solutions:**
- Enable ATR filter
- Increase Swing Candles to 4-5
- Enable RSI filter
- Increase Shadow % to 75-80%
### "Signals Appearing Late"
**This is normal behavior!** The indicator:
- Analyzes previous closed bar
- Signals appear on the bar AFTER the pinbar
- This is what prevents repainting
- Signal latency is 1 bar (by design)
---
## ๐ Technical Specifications
**Indicator Type:** Overlay (displays on price chart)
**Pine Script Version:** 5
**Max Labels:** 500
**Max Lines:** 500
**Repainting:** None (100% non-repainting)
**Data Window Values:** 8 exported values
**Alert Types:** 3 (Combined, Bullish, Bearish)
**Performance:**
- Lightweight script (fast execution)
- Works on all timeframes
- Compatible with all markets (Forex, Crypto, Stocks, Futures)
- No data snooping bias
---
## ๐ฏ Use Cases
### 1. **Swing Trading**
- Timeframe: Daily, 4H
- Filter Settings: All enabled
- Best for: Catching major reversals
### 2. **Day Trading**
- Timeframe: 15m, 1H
- Filter Settings: ATR + SWING only
- Best for: Intraday reversals
### 3. **Scalping**
- Timeframe: 5m, 15m
- Filter Settings: SWING only (aggressive)
- Best for: Quick reversals (requires experience)
### 4. **Position Trading**
- Timeframe: Weekly, Daily
- Filter Settings: All enabled + high RR (2:1 or 3:1)
- Best for: Long-term trend reversal catches
---
## ๐ Advantages Over Other Pinbar Indicators
โ
**Guaranteed Non-Repainting** - Many pinbar indicators repaint; this one never does
โ
**Automatic SL/TP** - No manual calculation needed
โ
**Multi-Layer Filtering** - Reduces false signals significantly
โ
**Visual Trade Management** - Clear entry, stop, and target levels
โ
**Flexible Configuration** - Adaptable to any trading style
โ
**Alert System** - Never miss a setup
โ
**Backtesting Ready** - Reliable historical data
โ
**Professional Grade** - Suitable for live trading
---
## ๐ Educational Resources
### Recommended Reading on Pinbars
- "The Pin Bar Trading Strategy" by Nial Fuller
- "Price Action Trading" by Al Brooks
- TradingView Education: Price Action Patterns
### Practice Recommendations
1. Paper trade signals for 20+ trades before live trading
2. Backtest on different timeframes and markets
3. Keep detailed records of all trades
4. Analyze winning vs losing setups
5. Refine filter settings based on results
---
## โ๏ธ Disclaimer
This indicator is a tool for technical analysis and does not guarantee profits. Trading involves substantial risk of loss. Past performance is not indicative of future results.
- Always use proper risk management
- Never risk more than you can afford to lose
- Consider your trading experience and objectives
- Seek independent financial advice if needed
---
## ๐ง Version Information
**Current Version:** 1.0
**Last Updated:** 2024
**Compatibility:** TradingView Pine Script v5
**Status:** Production Ready
---
## ๐ Future Enhancements (Potential)
Possible future additions:
- Multi-timeframe confirmation option
- Volume filter integration
- Customizable color schemes
- Win rate statistics display
- Partial profit taking levels
- Trailing stop functionality
---
## ๐ Quick Start Guide
### 5-Minute Setup
1. **Add to Chart**
- Open TradingView
- Go to Pine Editor
- Paste the code
- Click "Add to Chart"
2. **Configure Settings**
- Open indicator settings (gear icon)
- Start with default settings
- Enable "Show SL and TP Lines"
3. **Set Alert**
- Right-click indicator name
- Click "Add Alert"
- Select "Pinbar Signal (Any Direction)"
- Configure notification method
4. **Test**
- Scroll back on chart
- Verify signals make sense
- Check that signals don't repaint
5. **Trade** (After Practice!)
- Wait for alert
- Verify signal quality
- Enter, place SL/TP
- Manage trade
---
## ๐ฏ Final Thoughts
The **Pinbar MTF - No Repaint** indicator is designed for serious traders who value:
- **Reliability** over flashy signals
- **Quality** over quantity
- **Honesty** over false promises
This indicator will NOT:
- Make you rich overnight
- Win every trade
- Replace proper trading education
This indicator WILL:
- Identify high-probability reversal setups
- Save you analysis time
- Provide consistent, non-repainting signals
- Help you develop a systematic trading approach
**Success in trading comes from:**
1. Proper education (60%)
2. Risk management (30%)
3. Technical tools like this indicator (10%)
Use this tool as part of a complete trading plan, not as a standalone solution.
Custom Checklist# Custom Checklist - Trading Preparation & Reminders
A fully customizable checklist overlay indicator for TradingView that helps traders maintain discipline and follow their trading routine systematically.
## ๐ฏ Purpose
This indicator serves as a visual reminder system on your charts to ensure you complete all necessary analysis steps before entering a trade. Perfect for traders who want to maintain consistency and avoid emotional or rushed trading decisions.
## โจ Key Features
- **20 Customizable Lines**: Create your own checklist items with any text you need
- **Flexible Display Options**:
- Show/hide title header
- Toggle entire checklist on/off
- Position anywhere on chart (9 positions available)
- Adjustable text size (tiny to huge)
- **Symbol Filtering**: Option to show checklist only on specific symbols (BTC/USD, GOLD, SPX500, USOIL)
- **Customizable Appearance**:
- Background color
- Text color
- Border color
- Transparency controls
- **Clean Interface**: Empty by default - add only the items you need
## ๐ Use Cases
- **Morning Routine**: Daily market preparation checklist
- **Trade Entry Rules**: Verify all setup conditions are met
- **Risk Management**: Confirm stop-loss, position size, and exit strategy
- **Multi-Timeframe Analysis**: Ensure you checked all required timeframes
- **Technical Analysis**: Track which indicators and patterns you've reviewed
- **News & Events**: Remember to check economic calendar and news
- **Personal Rules**: Your custom trading rules and reminders
## ๐จ Customization
Every aspect is customizable:
- All 20 lines can be edited to your needs
- Only non-empty lines are displayed
- Table position adjustable to any corner or middle position
- Color scheme fully customizable to match your chart theme
- Text size scalable for different screen sizes
## ๐ก How to Use
1. Add indicator to your chart
2. Open Settings > Checklist Items
3. Fill in your checklist items (Line 1, Line 2, etc.)
4. Customize colors and position in Display Settings
5. Optional: Enable "Show Only on Specific Symbols" to show on select instruments
## ๐ง Display Settings
- **Checklist Title**: Custom header for your checklist
- **Show Title Header**: Toggle title display
- **Show Checklist**: Master on/off switch
- **Symbol Filter**: Restrict display to specific trading instruments
- **Position**: 9 placement options (corners and middle positions)
- **Text Size**: 5 size options (tiny, small, normal, large, huge)
- **Colors**: Background, text, and border fully customizable
## ๐ Example Checklist Ideas
**Swing Trading:**
- Support/Resistance levels identified
- Trend direction confirmed
- Volume analysis completed
- RSI/MACD signals checked
- Risk/Reward ratio calculated
**Day Trading:**
- Pre-market review done
- Key levels marked
- Economic calendar checked
- Trading plan written
- Position size calculated
**Technical Analysis:**
- Multiple timeframe alignment
- Chart patterns identified
- Moving averages reviewed
- Fibonacci levels drawn
- Volume profile analyzed
## โ๏ธ Technical Details
- Pine Script v6
- Overlay indicator (displays on main chart)
- Lightweight - no complex calculations
- No repainting
- Works on all timeframes and instruments
## ๐ Perfect For
- Beginner traders learning systematic analysis
- Experienced traders maintaining discipline
- Anyone who wants visual trading reminders
- Traders following multi-step strategies
- Those prone to FOMO or emotional trading
---
**Note**: This is a visual tool only. It does not generate trading signals or perform analysis. It serves as a reminder checklist to help you follow your own trading process consistently.
Custom Checklist# Custom Checklist - Trading Preparation & Reminders
A fully customizable checklist overlay indicator for TradingView that helps traders maintain discipline and follow their trading routine systematically.
## ๐ฏ Purpose
This indicator serves as a visual reminder system on your charts to ensure you complete all necessary analysis steps before entering a trade. Perfect for traders who want to maintain consistency and avoid emotional or rushed trading decisions.
## โจ Key Features
- **20 Customizable Lines**: Create your own checklist items with any text you need
- **Flexible Display Options**:
- Show/hide title header
- Toggle entire checklist on/off
- Position anywhere on chart (9 positions available)
- Adjustable text size (tiny to huge)
- **Symbol Filtering**: Option to show checklist only on specific symbols (BTC/USD, GOLD, SPX500, USOIL)
- **Customizable Appearance**:
- Background color
- Text color
- Border color
- Transparency controls
- **Clean Interface**: Empty by default - add only the items you need
## ๐ Use Cases
- **Morning Routine**: Daily market preparation checklist
- **Trade Entry Rules**: Verify all setup conditions are met
- **Risk Management**: Confirm stop-loss, position size, and exit strategy
- **Multi-Timeframe Analysis**: Ensure you checked all required timeframes
- **Technical Analysis**: Track which indicators and patterns you've reviewed
- **News & Events**: Remember to check economic calendar and news
- **Personal Rules**: Your custom trading rules and reminders
## ๐จ Customization
Every aspect is customizable:
- All 20 lines can be edited to your needs
- Only non-empty lines are displayed
- Table position adjustable to any corner or middle position
- Color scheme fully customizable to match your chart theme
- Text size scalable for different screen sizes
## ๐ก How to Use
1. Add indicator to your chart
2. Open Settings > Checklist Items
3. Fill in your checklist items (Line 1, Line 2, etc.)
4. Customize colors and position in Display Settings
5. Optional: Enable "Show Only on Specific Symbols" to show on select instruments
## ๐ง Display Settings
- **Checklist Title**: Custom header for your checklist
- **Show Title Header**: Toggle title display
- **Show Checklist**: Master on/off switch
- **Symbol Filter**: Restrict display to specific trading instruments
- **Position**: 9 placement options (corners and middle positions)
- **Text Size**: 5 size options (tiny, small, normal, large, huge)
- **Colors**: Background, text, and border fully customizable
## ๐ Example Checklist Ideas
**Swing Trading:**
- Support/Resistance levels identified
- Trend direction confirmed
- Volume analysis completed
- RSI/MACD signals checked
- Risk/Reward ratio calculated
**Day Trading:**
- Pre-market review done
- Key levels marked
- Economic calendar checked
- Trading plan written
- Position size calculated
**Technical Analysis:**
- Multiple timeframe alignment
- Chart patterns identified
- Moving averages reviewed
- Fibonacci levels drawn
- Volume profile analyzed
## โ๏ธ Technical Details
- Pine Script v6
- Overlay indicator (displays on main chart)
- Lightweight - no complex calculations
- No repainting
- Works on all timeframes and instruments
## ๐ Perfect For
- Beginner traders learning systematic analysis
- Experienced traders maintaining discipline
- Anyone who wants visual trading reminders
- Traders following multi-step strategies
- Those prone to FOMO or emotional trading
---
**Note**: This is a visual tool only. It does not generate trading signals or perform analysis. It serves as a reminder checklist to help you follow your own trading process consistently.






















